ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Common Board

Compilation_Error
Posted by Denis 6 Sep 2006 14:13
I can't understand what is wrong. On my PC a can compilate code without any errors, but when I send my solution compliation error takes place. My code is very simple with only 2 includes:
#include <iostream.h>
#include <string.h>

Please help me :(
Re: Compilation_Error
Posted by Samsonov Alex [USU] 6 Sep 2006 21:50
try to add 3 lines:

int main(){
 return 0;
}
Re: Compilation_Error
Posted by Denis 7 Sep 2006 18:05
Very funny :)
I have those 3 lines and a little bit more. I mean maybe there are some features in this system which I don't know? Problem 1109 have the same trouble. If I'm not mistaken 'Compilation error' means that my code can't be compiled at all, but then why on my PC I don't have such problems? In 1109 I use

#include "iostream.h"
#include "string.h"
#include "stdlib.h"
#include "math.h"

May be some of this files cant be found on testing machine?
Re: Compilation_Error
Posted by GaLL [Tyumen SU] 7 Sep 2006 22:59
There is difference between "math.h" and <math.h>. Files in <...> are searched at first in "Include" directory, in "..." - in directory of project
Re: Compilation_Error
Posted by Krayev Alexey (PSU) 11 Sep 2006 14:01
Read the FAQ, It is said there how to know the reason of CE.