Borderou de evaluare (job #246277)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Turist (clasa a 8-a) | Compilator | cpp |
Rundă | OJI (clasa a 8-a) | Status | evaluat |
Dată | 4 sept. 2016 20:05:42 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:8: error: ‘int y1’ redeclared as different kind of symbol
/usr/include/i386-linux-gnu/bits/mathcalls.h:243:1: error: previous declaration of ‘double y1(double)’
user.cpp: In function ‘int main()’:
user.cpp:13:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘double (*)(double)throw ()’ [-Wformat]
user.cpp:18:32: error: invalid operands of types ‘int’ and ‘double(double)throw ()’ to binary ‘operator-’
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:13:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:16:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]