Borderou de evaluare (job #2868087)

Utilizator Nitoi_BogdanNitoi Andrei-Bogdan Nitoi_Bogdan Data 10 martie 2022 18:40:26
Problema Concurs2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:44:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 44 | for(int i = 1; i<=50; i++) | ^~~ main.cpp:53:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 53 | int g; | ^~~ main.cpp:61:42: warning: 'g' may be used uninitialized in this function [-Wmaybe-uninitialized] 61 | cout << c << " " << g << '\n'; | ^~~~ main.cpp:32:5: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] 32 | int c; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK10
32ms184kbOK10
42ms184kbOK10
52ms184kbOK10
62ms184kbOK10
72ms184kbOK10
82ms184kbOK10
92ms184kbOK10
102ms184kbOK10
Punctaj total100

Ceva nu functioneaza?