Borderou de evaluare (job #792143)

Utilizator avatar evamusetescu Eva Musetescu evamusetescu IP ascuns
Problemă Concurs (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 31 oct. 2024 17:38:27 Scor 21

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:10:34: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 10 | int n, h, x, ah, ax, bh, bx, ch, cx, cntor, cntscl; // abc a - oras; b - scoala; c - elev | ^~ main.cpp:10:38: warning: variable 'cx' set but not used [-Wunused-but-set-variable] 10 | int n, h, x, ah, ax, bh, bx, ch, cx, cntor, cntscl; // abc a - oras; b - scoala; c - elev | ^~ main.cpp:22:25: warning: 'cntor' may be used uninitialized [-Wmaybe-uninitialized] 22 | if(ax==ah) cntor++; | ~~~~~^~ main.cpp:10:42: note: 'cntor' was declared here 10 | int n, h, x, ah, ax, bh, bx, ch, cx, cntor, cntscl; // abc a - oras; b - scoala; c - elev | ^~~~~ main.cpp:23:36: warning: 'cntscl' may be used uninitialized [-Wmaybe-uninitialized] 23 | if(ax==ah && bx==bh) cntscl++; | ~~~~~~^~ main.cpp:10:49: note: 'cntscl' was declared here 10 | int n, h, x, ah, ax, bh, bx, ch, cx, cntor, cntscl; // abc a - oras; b - scoala; c - elev | ^~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb a) corect, b) c) incorect 3
2 1 ms 245 kb a) corect, b) c) incorect 3
3 2 ms 245 kb Incorect 0
4 1 ms 245 kb a) corect, b) c) incorect 3
5 2 ms 507 kb a) corect, b) c) incorect 3
6 1 ms 507 kb a) corect, b) c) incorect 3
7 1 ms 245 kb Incorect 0
8 2 ms 245 kb Incorect 0
9 1 ms 245 kb a) corect, b) c) incorect 3
10 1 ms 245 kb a) corect, b) c) incorect 3
Punctaj total 21