Search found 5 matches

by csegura
Sat Sep 12, 2015 7:21 am
Forum: Volume 8 (800-899)
Topic: 830 - Shark
Replies: 7
Views: 6155

Re: 830 - Shark

I also had problems with the way of reading. I obtained wrong answer when reading character by character, but AC when reading line by line, so be careful...
by csegura
Sat Jan 04, 2014 5:09 am
Forum: Volume 119 (11900-11999)
Topic: 11956 - Brainfuck
Replies: 9
Views: 3014

Re: 11956 WA

Thank very much! I could solve the problem with your reply
by csegura
Thu Jan 02, 2014 2:52 am
Forum: Volume 119 (11900-11999)
Topic: 11956 - Brainfuck
Replies: 9
Views: 3014

Re: 11956 WA

Hi, in this problem I use the following data structure: unsigned char memory[100]; If I use the following line to generate the output, the tests are fine: printf(" %02X", memory[j]); However, with the next line I get "Wrong Answer": cout << " " << hex << uppercase << setfill('0') << setw(2) << (unsi...
by csegura
Fri May 17, 2013 4:09 am
Forum: Volume 6 (600-699)
Topic: 696 - How Many Knights
Replies: 29
Views: 13043

Re: Run time error

Yes, there was a general error in the system some weeks ago, while I was sending the solution.

Thank you for your response.
by csegura
Sun Apr 28, 2013 11:13 am
Forum: Volume 6 (600-699)
Topic: 696 - How Many Knights
Replies: 29
Views: 13043

Run time error

Hi, I am obtaining Run Time Error in a very simple program for 696. The program is: #include <iostream> using namespace std; int main(){ while(true){ int rows, columns; cin >> rows >> columns; int greater = max(rows, columns); int lower = min(rows, columns); if ((rows == 0) && (columns == 0)){ break...

Go to advanced search