Borderou de evaluare (job #792834)

Utilizator avatar pannozzo_andrei Pannozzo Andrei pannozzo_andrei IP ascuns
Problemă Cabina (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 3 nov. 2024 14:51:27 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:10:32: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 10 | int a,a1,b,b1,n,s,ct=0,c,x,cnt; | ^~~ main.cpp:24:12: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 24 | ct = ct + c; | ~~~^~~~~~~~ main.cpp:10:28: note: 'c' was declared here 10 | int a,a1,b,b1,n,s,ct=0,c,x,cnt; | ^ main.cpp:26:14: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 26 | x++; | ~^~ main.cpp:10:30: note: 'x' was declared here 10 | int a,a1,b,b1,n,s,ct=0,c,x,cnt; | ^ main.cpp:34:13: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 34 | fout << s << endl << ct << endl << x; | ^ main.cpp:10:21: note: 's' was declared here 10 | int a,a1,b,b1,n,s,ct=0,c,x,cnt; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 2 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 2 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 0