Forget it, found my mistake, needed to use long long instead of long or int.
Thanks anyways
Search found 2 matches
- Wed Nov 16, 2005 7:46 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10499 - The Land of Justice
- Replies: 51
- Views: 21127
- Wed Nov 16, 2005 7:42 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10499 - The Land of Justice
- Replies: 51
- Views: 21127
10499 - Land of Justice WA Help please
Hi, I used the following code to generate my output, and can't figure out whats wrong with and why its giving a WA. Any help on why its happening would be appreciated. Any sample input where its wrong would be lovely. Thanks #include <iostream> using namespace std; int main() { int n; while(1) { cin...