Borderou de evaluare (job #2261783)

Utilizator lixiLixandru Andrei lixi Data 16 octombrie 2018 17:54:35
Problema Egal Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int)': main.cpp:16:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < vec[nod].size(); i++) ~~^~~~~~~~~~~~~~~~~ main.cpp:21:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(it = M[vec[nod][i]].begin(); it != M[vec[nod][i]].end(); it++) ^~~ main.cpp:23:24: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' M[vec[nod][i]].clear(); ^ main.cpp: In function 'int main()': main.cpp:47:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i = 1; i <= N; i++) ^~~ main.cpp:49:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' fclose(f); ^~~~~~ main.cpp:52:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i = 1; i <= N; i++) ^~~ main.cpp:54:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' fclose(g); ^~~~~~ main.cpp:40:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d", &N); ^ main.cpp:43:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d", &x, &y); ^ main.cpp:48:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d", &c[i]); ^ main.cpp: In function 'void dfs(int)': main.cpp:33:15: warning: 'cmaxim' may be used uninitialized in this function [-Wmaybe-uninitialized] cmax[nod] = cmaxim; ~~~~~~~~~~^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
117ms7340kbOK55
217ms7340kbOK55
317ms7340kbOK55
417ms7340kbOK55
517ms7340kbOK55
616ms7340kbOK55
721ms7340kbOK55
821ms7471kbOK55
9601ms12713kbTime limit exceeded00
10292ms12713kbOK5
11375ms12845kbOK5
12447ms16646kbOK5
13603ms15466kbTime limit exceeded00
14308ms13631kbOK5
16287ms14155kbOK5
17602ms16121kbTime limit exceeded0
15603ms19922kbTime limit exceeded00
18587ms17563kbOK5
19526ms14811kbOK5
20447ms14811kbOK5
Punctaj total40

Ceva nu functioneaza?