Pagini recente » Borderou de evaluare (job #2895877) | Borderou de evaluare (job #2057314) | Borderou de evaluare (job #1338897) | Borderou de evaluare (job #1679079) | Borderou de evaluare (job #2287641)
Borderou de evaluare (job #2287641)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs1(int, int)':
main.cpp:17:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < graph[node].size(); i++)
~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void dfs2(int, int)':
main.cpp:28:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < graph[node].size(); i++)
~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:56:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.in", "r", stdin);
^
main.cpp:57:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.out", "w", stdout);
^
main.cpp:59:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &q);
^
main.cpp:65:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:92:25: 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 |
Punctaj/grupa |
1 | 7ms | 2621kb | OK | 10 | 10 |
2 | 9ms | 2621kb | OK | 10 | 10 |
3 | 29ms | 4194kb | OK | 10 | 10 |
4 | 232ms | 13762kb | OK | 10 | 10 |
5 | 271ms | 21495kb | OK | 10 | 10 |
6 | 393ms | 21626kb | OK | 10 | 10 |
7 | 1160ms | 30539kb | OK | 10 | 10 |
8 | 1546ms | 24117kb | OK | 10 | 30 |
9 | 1959ms | 25034kb | OK | 10 |
10 | 2553ms | 25559kb | OK | 10 |
Punctaj total | 100 |