Borderou de evaluare (job #146003)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Lasere (clasa a 7-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 13 mai 2015 23:39:48 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:32: error: ‘int y0’ redeclared as different kind of symbol
/usr/include/i386-linux-gnu/bits/mathcalls.h:242:1: error: previous declaration of ‘double y0(double)’
user.cpp: In function ‘int main()’:
user.cpp:26:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘double (*)(double)throw ()’ [-Wformat]
user.cpp:30:16: error: invalid types ‘int [205][double(double)throw ()]’ for array subscript
user.cpp:33:18: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:33:18: error: invalid conversion from ‘double (*)(double)throw ()’ to ‘int’ [-fpermissive]
user.cpp:38:16: error: invalid types ‘int [205][double(double)throw ()]’ for array subscript
user.cpp:41:18: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:41:18: error: invalid conversion from ‘double (*)(double)throw ()’ to ‘int’ [-fpermissive]
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:15:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:18:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:26:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]