Borderou de evaluare (job #2653822)

Utilizator Andrei21AAnea Andrei Andrei21A Data 29 septembrie 2020 11:13:41
Problema Elementul majoritar Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<=n;i++) ^~~ main.cpp:14:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' e=a[1]; ^ main.cpp:9:17: warning: unused variable 'x' [-Wunused-variable] int e=0, n, x, i,cnt=1,ap=0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms131kbOK10
45ms131kbOK10
515ms393kbOK10
627ms524kbOK10
750ms917kbOK10
8104ms2097kbOK10
9210ms4063kbOK10
10241ms4194kbOK10
Punctaj total100

Ceva nu functioneaza?