Borderou de evaluare (job #2828579)

Utilizator MilitaruMihaiMihaiMIlitaru MilitaruMihai Data 7 ianuarie 2022 17:03:10
Problema Subsiruri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:10:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 10 | for (i=1; i<=n; i++) | ^~~ main.cpp:12:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 12 | n++; | ^ main.cpp:23:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 23 | if (v[j]<v[i]) | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK10
22ms184kbOK10
32ms184kbOK10
42ms184kbOK10
52ms184kbOK10
62ms184kbOK10
72ms184kbOK10
82ms184kbOK10
96ms200kbOK10
102ms184kbOK10
Punctaj total100

Ceva nu functioneaza?