c++, doesn't compile

Write here if you have problems with your C++ source code

Moderator: Board moderators

Post Reply
Bartserk
New poster
Posts: 2
Joined: Sun May 28, 2006 6:31 pm

c++, doesn't compile

Post by Bartserk »

Greetings, I've already compiled some times with the online judge and I've been successful, but this is the first time I'm using separate functions. The other problems are did were easier and so I could put everything into the main() method, but this time I had to use structs and other methods. I could compile it with g++ 3.3 and 4.0 and it worked perfectly, but I don't know why, the online judge doesn't compile it. Could anyone please tell me which compiler it uses? I'll post the code anyway, in case it was my fault. Thanks in advance!

Code: Select all


Last edited by Bartserk on Sun May 28, 2006 10:12 pm, edited 1 time in total.
Banana Phone!
Bartserk
New poster
Posts: 2
Joined: Sun May 28, 2006 6:31 pm

Post by Bartserk »

Heh, nevermind, I already found it. It was due to an abbuse of notation. I refefined the variable 'nota' too much. And now, to correct the WA :( Thank you anyway!!
Banana Phone!
Post Reply

Return to “C++”