Search found 2 matches

by ekangas
Sat Mar 04, 2017 3:30 pm
Forum: Volume 4 (400-499)
Topic: 462 - Bridge Hand Evaluator
Replies: 32
Views: 10238

Re: 462 - Bridge Hand Evaluator

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> all_suits...
by ekangas
Tue Feb 21, 2017 8:12 am
Forum: Volume 1 (100-199)
Topic: 158 - Calendar
Replies: 44
Views: 7863

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 without ...

Go to advanced search