Search found 2 matches
- Sun Sep 25, 2016 10:12 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10855 - Rotated square
- Replies: 12
- Views: 10294
Re: 10855 - Rotated square
Hi All, All testcases are passing (both from sample and uDebug), but I'm still getting WA. Please heeelp :(!! #include <string> #include <vector> #include <iostream> #include <sstream> #include <cmath> std::ostream& operator<<(std::ostream& out, std::vector<std::string> const& square) { for(auto con...
- Fri Aug 19, 2016 2:05 am
- Forum: Volume 5 (500-599)
- Topic: 514 - Rails
- Replies: 79
- Views: 24552
Re: 514 - Rails
Hi Guys, I don't know why I'm getting a "Compile Error" from UVA, locally, it compiles just fine and passes all tests: #include <vector> #include <string> #include <iostream> #include <sstream> #include <algorithm> #include <stack> using Train = std::vector<int>; bool train_is_valid(Train const& ori...