Borderou de evaluare (job #723654)

Utilizator avatar Thomas_Paturan114 Paturan Thomas Thomas_Paturan114 IP ascuns
Problemă Nr (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 11 iun. 2023 12:48:38 Scor 92

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:9:67: warning: variable 'aux' set but not used [-Wunused-but-set-variable] 9 | int k, n, contor = 0, x, doi = 1, nr = 3, zero = 2, zece = 1, aux, corect, i2; | ^~~ main.cpp:46:5: warning: 'i2' may be used uninitialized [-Wmaybe-uninitialized] 46 | for(int i = i2;ok != true;i++) | ^~~ main.cpp:9:80: note: 'i2' was declared here 9 | int k, n, contor = 0, x, doi = 1, nr = 3, zero = 2, zece = 1, aux, corect, i2; | ^~ main.cpp:70:10: warning: 'corect' may be used uninitialized [-Wmaybe-uninitialized] 70 | out<<corect; | ^~~~~~ main.cpp:9:72: note: 'corect' was declared here 9 | int k, n, contor = 0, x, doi = 1, nr = 3, zero = 2, zece = 1, aux, corect, i2; | ^~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb a) OK; b) OK; c) rezultat incorect 6
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 2 ms 249 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 2 ms 245 kb a) OK; b) OK; c) rezultat incorect 6
Punctaj total 92