Pagini recente » Borderou de evaluare (job #2789238) | Borderou de evaluare (job #1590018) | Borderou de evaluare (job #368743) | Borderou de evaluare (job #2381369) | Borderou de evaluare (job #2309299)
Borderou de evaluare (job #2309299)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:37:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < graph[u].size(); i++) {
~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:46:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("radare.in", "r", stdin);
^
main.cpp:47:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("radare.out", "w", stdout);
^
main.cpp:51:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &p);
^
main.cpp:54:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &u, &v);
^
main.cpp:59:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", ×[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 262kb | OK | 10 |
2 | 3ms | 262kb | OK | 10 |
3 | 3ms | 262kb | OK | 10 |
4 | 6ms | 1179kb | OK | 10 |
5 | 8ms | 1703kb | OK | 10 |
6 | 9ms | 1703kb | OK | 10 |
7 | 151ms | 22413kb | OK | 10 |
8 | 201ms | 25296kb | Time limit exceeded | 0 |
9 | 127ms | 13500kb | OK | 10 |
10 | 140ms | 18743kb | OK | 10 |
Punctaj total | 90 |