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!