Pagini recente » Borderou de evaluare (job #2833714) | Borderou de evaluare (job #391741) | Borderou de evaluare (job #2877920) | Borderou de evaluare (job #327453) | Borderou de evaluare (job #2442195)
Borderou de evaluare (job #2442195)
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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 6ms | 2490kb | Incorect | 0 |
Punctaj total | 0 |