Borderou de evaluare (job #3206282)

Utilizator dgrigaGriga Darius dgriga Data 22 februarie 2024 10:44:54
Problema 2Numere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:9:27: warning: unused variable 'n1' [-Wunused-variable] 9 | long long int n, cif, n1, n2, difmin=10, c1, c2, dif; | ^~ main.cpp:9:31: warning: unused variable 'n2' [-Wunused-variable] 9 | long long int n, cif, n1, n2, difmin=10, c1, c2, dif; | ^~ main.cpp:73:12: warning: 'c2' may be used uninitialized [-Wmaybe-uninitialized] 73 | fr2[c2]--; | ~~~~~~~^~ main.cpp:9:50: note: 'c2' was declared here 9 | long long int n, cif, n1, n2, difmin=10, c1, c2, dif; | ^~ main.cpp:63:35: warning: 'c1' may be used uninitialized [-Wmaybe-uninitialized] 63 | if(dif==difmin&&i<c1) | ~~~~~~~~~~~^~~~~~ main.cpp:9:46: note: 'c1' was declared here 9 | long long int n, cif, n1, n2, difmin=10, c1, c2, dif; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK!10
20ms303kbRaspuns gresit0
30ms303kbOK!10
40ms303kbRaspuns gresit0
50ms303kbRaspuns gresit0
60ms303kbRaspuns gresit0
70ms303kbRaspuns gresit0
80ms303kbRaspuns gresit0
90ms303kbRaspuns gresit0
100ms303kbRaspuns gresit0
Punctaj total20

Ceva nu functioneaza?