Thanks Brian......Got Accepted
But while doing cin<<n; [wrong]....it also shows correct output !!!!!!!!!
Search found 9 matches
- Thu Sep 19, 2013 5:38 pm
- Forum: Volume 117 (11700-11799)
- Topic: 11777 - Automate the Grades
- Replies: 32
- Views: 6945
- Tue Sep 17, 2013 2:35 pm
- Forum: Volume 117 (11700-11799)
- Topic: 11777 - Automate the Grades
- Replies: 32
- Views: 6945
Re: 11777 - Automate the Grades Why getting WA???
WA....help please....no idea why WA ?????????
http://ideone.com/eifeo9
http://ideone.com/eifeo9
- Tue Aug 27, 2013 2:11 pm
- Forum: Volume 2 (200-299)
- Topic: 299 - Train Swapping
- Replies: 81
- Views: 13537
- Fri Aug 16, 2013 1:56 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10189 - Minesweeper
- Replies: 418
- Views: 80464
Re: 10189 - Minesweeper
I got accepted........Thanks BRIAN for helping me a lot....... Threats : 1) we have to print newlines between consecutive outputs...not an extra newline at the end.. /* 1 1 . Field #1: 0 1 1 // newline . Field #2: 0 0 0 // newline by default ( we must not print an extra new line here same as the new...
- Thu Aug 15, 2013 6:27 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10189 - Minesweeper
- Replies: 418
- Views: 80464
Re: 10189 - Minesweeper
This time i am not printing an extra line at the end....Though i am getting wrong answer !!!!!!!
http://pastebin.com/u2ttD3w6
http://pastebin.com/u2ttD3w6
- Thu Aug 15, 2013 6:19 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10189 - Minesweeper
- Replies: 418
- Views: 80464
Re: 10189 - Minesweeper
@brainfry713 ////////****[It's easier to put the input into a file and redirect it into your program. In UNIX I usually do something like: ./a.out < 10189.in | diff - 10189.out ] ********/////// ** I didnt understand it ? ////****[To print a newline between test cases you could do something like: fo...
- Mon Aug 12, 2013 1:57 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10189 - Minesweeper
- Replies: 418
- Views: 80464
10189 - Minesweeper
" There must be an empty line between field outputs. Don't print an extra blank line at the end. "
But how to do that...????? I am taking input from keyboard n when 0 0 is pressed,,the programme terminates.....how i can understand the number of input cases there ??
But how to do that...????? I am taking input from keyboard n when 0 0 is pressed,,the programme terminates.....how i can understand the number of input cases there ??
- Tue Aug 06, 2013 9:19 am
- Forum: Volume 101 (10100-10199)
- Topic: 10189 - Minesweeper
- Replies: 418
- Views: 80464
Re: 10189 - Minesweeper
@ sir Brianfry713,,, sir, the actual code that i compiled in my compiler was not that...there was an error (.) but it happened as i just copied the whole code at pastebin.com and then deleted my unnecessary comments there....my actual code is ( http://pastebin.com/ia6hZJbQ) .....which is working acc...
- Sun Aug 04, 2013 6:03 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10189 - Minesweeper
- Replies: 418
- Views: 80464
Re: 10189 - Minesweeper
I am getting wrong answer though the code is showing correct output for sample input......Is the extra new line at the end creating problem ? If i have to remove it then how ? but the problem says : " There must be an empty line between field outputs. " problem : http://uva.onlinejudge.org...