Borderou de evaluare (job #676141)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Pulsar (clasa a 10-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 16 nov. 2022 12:39:38 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int32_t main()':
main.cpp:92:17: error: 'pulas' was not declared in this scope; did you mean 'puls'?
92 | pulas nxt;
| ^~~~~
| puls
main.cpp:93:17: error: 'nxt' was not declared in this scope
93 | nxt.x = now.x + dx[k];
| ^~~
main.cpp:55:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
55 | freopen("pulsar.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:56:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
56 | freopen("pulsar.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~