Borderou de evaluare (job #251642)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Drepte Prime (clasa a 6-a) | Compilator | cpp |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 23 oct. 2016 11:49:15 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool prim(int)’:
user.cpp:12:13: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
user.cpp:14:32: error: ‘sqrt’ was not declared in this scope
user.cpp: In function ‘int main()’:
user.cpp:44:13: error: ‘cnt’ was not declared in this scope
user.cpp:56:13: error: ‘cnt’ was not declared in this scope
user.cpp:27:27: warning: unused variable ‘i1’ [-Wunused-variable]
user.cpp:27:30: warning: unused variable ‘j1’ [-Wunused-variable]
user.cpp:25:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:26:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:28:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:32:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]