Borderou de evaluare (job #589371)

Utilizator avatar mirel_P mirel p mirel_P IP ascuns
Problemă ESO Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 1 apr. 2021 02:05:50 Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:32:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 32 | for (i = 1; i<= b;i++) | ^~~ main.cpp:34:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 34 | dmana[0] = 0; | ^~~~~ main.cpp:27:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fscanf(fin, "%d\n", &t); | ~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:29:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | fscanf(fin, "%d %d %d\n", &a, &b, &n); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:38:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 38 | fscanf(fin, "%c %d %d\n", &type, &cost, &value); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb Incorect 0
2 1 ms 262 kb OK 10
3 1 ms 262 kb Incorect 0
4 1 ms 262 kb Incorect 0
5 1 ms 262 kb Incorect 0
6 28 ms 262 kb Incorect 0
7 1 ms 262 kb Killed by Signal 11 0
8 1 ms 262 kb Killed by Signal 11 0
9 1 ms 262 kb Killed by Signal 11 0
10 1 ms 262 kb Killed by Signal 11 0
Punctaj total 10