Borderou de evaluare (job #150396)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Extraprime (clasa a 5-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 1 iul. 2015 12:53:46 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void prim(int)’:
user.cpp:6:9: error: ‘t’ was not declared in this scope
user.cpp:6:17: error: ‘n’ was not declared in this scope
user.cpp:8:9: error: ‘i’ was not declared in this scope
user.cpp:9:9: error: ‘c’ was not declared in this scope
user.cpp:11:8: error: ‘c’ was not declared in this scope
user.cpp:12:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
user.cpp:15:16: error: return-statement with a value, in function returning 'void' [-fpermissive]
user.cpp: In function ‘int main()’:
user.cpp:36:30: error: could not convert ‘prim((i / 10))’ from ‘void’ to ‘bool’
user.cpp:24:13: warning: unused variable ‘c’ [-Wunused-variable]
user.cpp:24:19: warning: unused variable ‘t’ [-Wunused-variable]