Pagini recente » Borderou de evaluare (job #2082287) | Borderou de evaluare (job #609676) | Borderou de evaluare (job #2415502) | Borderou de evaluare (job #2686785) | Borderou de evaluare (job #1815010)
Borderou de evaluare (job #1815010)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:22:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < adj[node].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:48: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);
^
user.cpp:49: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);
^
user.cpp:51:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:55:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &dad[i]);
^
user.cpp:64:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1664kb | OK | 10 | 10 |
2 | 0ms | 1740kb | OK | 10 | 10 |
3 | 16ms | 3100kb | OK | 10 | 10 |
4 | 160ms | 11188kb | OK | 10 | 10 |
5 | 184ms | 18124kb | OK | 10 | 10 |
6 | 284ms | 18116kb | OK | 10 | 10 |
7 | 920ms | 23440kb | OK | 10 | 10 |
8 | 1456ms | 18116kb | OK | 10 | 30 |
9 | 1832ms | 18124kb | OK | 10 |
10 | 2016ms | 18124kb | OK | 10 |
Punctaj total | 100 |