Pagini recente » Borderou de evaluare (job #2938343) | Borderou de evaluare (job #2143094) | Borderou de evaluare (job #731247) | Borderou de evaluare (job #274615) | Borderou de evaluare (job #2442193)
Borderou de evaluare (job #2442193)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:34:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<graph[node].size(); ++i)
~^~~~~~~~~~~~~~~~~~~
main.cpp:39:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<graph[node].size(); ++i) {graph[node][i]+=i; mx=max(mx, graph[node][i]);}
~^~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:16:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("zvon.in", "r", stdin);
^
main.cpp:17:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("zvon.out", "w", stdout);
^
main.cpp:18:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
main.cpp:20:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:24:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 13ms | 2621kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |