Borderou de evaluare (job #3206275)

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

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:46:12: warning: 'c2' may be used uninitialized [-Wmaybe-uninitialized] 46 | 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:36:35: warning: 'c1' may be used uninitialized [-Wmaybe-uninitialized] 36 | 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
10ms303kbRaspuns gresit0
20ms303kbRaspuns gresit0
30ms303kbOK!10
40ms303kbRaspuns gresit0
50ms303kbRaspuns gresit0
60ms303kbRaspuns gresit0
70ms303kbRaspuns gresit0
80ms303kbRaspuns gresit0
90ms303kbRaspuns gresit0
100ms303kbRaspuns gresit0
Punctaj total10

Ceva nu functioneaza?