Borderou de evaluare (job #4864)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Puteri | Compilator | cpp |
Rundă | Olimpiada pe Scoala 2012, Clasa a 9-a | Status | evaluat |
Dată | 21 dec. 2012 10:35:08 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int diam(int)’:
user.cpp:32:18: error: ‘pow’ was not declared in this scope
user.cpp:4:6: warning: unused variable ‘p’ [-Wunused-variable]
user.cpp: In function ‘int main()’:
user.cpp:78:12: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:89:12: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:89:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
user.cpp:91:14: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:91:14: error: invalid conversion from ‘int (*)(int)’ to ‘int’ [-fpermissive]