Borderou de evaluare (job #2471672)

Utilizator mircearoataMircea Roata Palade mircearoata Data 11 octombrie 2019 10:41:38
Problema Map Status done
Runda simulare_oji_a_10-a Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'bool ok(int, int)': main.cpp:24:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(h[phi[x] + 1] != h[i]) ^~ main.cpp:26:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' for (int idx = 0; idx < n; idx++) ^~~ main.cpp: In function 'int main()': main.cpp:41:25: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[2005]' [-Wformat=] fscanf(in, "%s", &v[i]); ^ main.cpp:38:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d%d", &n, &m); ^ main.cpp:41:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%s", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
22ms131kbOK5
32ms131kbOK5
42ms131kbOK5
52ms262kbOK5
62ms262kbOK5
72ms262kbOK5
83ms262kbIncorect0
997ms3538kbOK5
10101ms3932kbTime limit exceeded0
11103ms3932kbTime limit exceeded0
12101ms4194kbTime limit exceeded0
13101ms4194kbTime limit exceeded0
14101ms3276kbTime limit exceeded0
15101ms3407kbTime limit exceeded0
16101ms3670kbTime limit exceeded0
17101ms4194kbTime limit exceeded0
18100ms4194kbTime limit exceeded0
19101ms4063kbTime limit exceeded0
20103ms3801kbTime limit exceeded0
Punctaj total40

Ceva nu functioneaza?