Borderou de evaluare (job #2552286)

Utilizator dariusandreicotaeCotae Darius Andrei dariusandreicotae Data 20 februarie 2020 18:54:11
Problema Joc 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:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=0; i<n; i++) ^~~ main.cpp:50:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' printf("%d %d %d",best, best_i, best_j); ^~~~~~ main.cpp:7:7: warning: unused variable 'fin' [-Wunused-variable] FILE *fin = freopen("joc.in", "r", stdin); ^~~ main.cpp:9:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n, &m); ^ main.cpp:14:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOk!10
26ms524kbOk!10
33ms262kbOk!10
410ms4063kbOk!10
53ms131kbOk!10
69ms1179kbOk!10
750ms2228kbOk!10
848ms1703kbOk!10
9176ms2752kbOk!10
10301ms4063kbOk!10
Punctaj total100

Ceva nu functioneaza?