Borderou de evaluare (job #749488)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Numere Apropiate (clasa a 7-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 4 dec. 2023 11:16:55 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:32:18: error: 'sync_with_stdio' was not declared in this scope
32 | ios_base:sync_with_stdio(0);
| ^~~~~~~~~~~~~~~
main.cpp:32:9: warning: label 'ios_base' defined but not used [-Wunused-label]
32 | ios_base:sync_with_stdio(0);
| ^~~~~~~~
main.cpp: In function 'int solve(int, char)':
main.cpp:27:1: warning: control reaches end of non-void function [-Wreturn-type]
27 | }
| ^
main.cpp: In function 'int main()':
main.cpp:30:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | freopen("nrapp.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:31:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
31 | freopen("nrapp.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~