I keep getting WA here, however I passed all the tests on uDebug. Here's my code (c++11):
#include<iostream>
#include<vector>
#include<unordered_map>
#include<sstream> //stringstreams
using namespace std;
enum class Suit {
spades='S',hearts='H',diamonds='D',clubs='C'
};
const array<Suit,4 ...
Search found 2 matches
- Sat Mar 04, 2017 3:30 pm
- Forum: Volume 4 (400-499)
- Topic: 462 - Bridge Hand Evaluator
- Replies: 32
- Views: 16409
- Tue Feb 21, 2017 8:12 am
- Forum: Volume 1 (100-199)
- Topic: 158 - Calendar
- Replies: 44
- Views: 15489
Re: 158 - Calendar
I got my solution accepted after spending a few hours working with a presentation error, even though the uDebug outputs were the same with my solution. I was using C++11.
So I'm pretty sure the problem was that I was using both iostream for cin as well as printf for output. I was using this ...
So I'm pretty sure the problem was that I was using both iostream for cin as well as printf for output. I was using this ...