Pagini recente » Borderou de evaluare (job #3180958) | Borderou de evaluare (job #2957198) | Cod sursa (job #1065962) | Borderou de evaluare (job #2543678) | Borderou de evaluare (job #2261783)
Borderou de evaluare (job #2261783)
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 |
| 1 | 17ms | 7340kb | OK | 5 | 5 |
| 2 | 17ms | 7340kb | OK | 5 | 5 |
| 3 | 17ms | 7340kb | OK | 5 | 5 |
| 4 | 17ms | 7340kb | OK | 5 | 5 |
| 5 | 17ms | 7340kb | OK | 5 | 5 |
| 6 | 16ms | 7340kb | OK | 5 | 5 |
| 7 | 21ms | 7340kb | OK | 5 | 5 |
| 8 | 21ms | 7471kb | OK | 5 | 5 |
| 9 | 601ms | 12713kb | Time limit exceeded | 0 | 0 |
| 10 | 292ms | 12713kb | OK | 5 |
| 11 | 375ms | 12845kb | OK | 5 |
| 12 | 447ms | 16646kb | OK | 5 |
| 13 | 603ms | 15466kb | Time limit exceeded | 0 | 0 |
| 14 | 308ms | 13631kb | OK | 5 |
| 16 | 287ms | 14155kb | OK | 5 |
| 17 | 602ms | 16121kb | Time limit exceeded | 0 |
| 15 | 603ms | 19922kb | Time limit exceeded | 0 | 0 |
| 18 | 587ms | 17563kb | OK | 5 |
| 19 | 526ms | 14811kb | OK | 5 |
| 20 | 447ms | 14811kb | OK | 5 |
| Punctaj total | 40 |