Pagini recente » Borderou de evaluare (job #1885427) | Borderou de evaluare (job #205558) | Borderou de evaluare (job #1601189) | Borderou de evaluare (job #2836271) | Borderou de evaluare (job #2289203)
Borderou de evaluare (job #2289203)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:20:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++){
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:27:33: 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:28:35: 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:30:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:32:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:49:30: 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 | 2490kb | OK | 10 | 10 |
2 | 8ms | 2621kb | OK | 10 | 10 |
3 | 30ms | 4587kb | OK | 10 | 10 |
4 | 227ms | 15073kb | OK | 10 | 10 |
5 | 270ms | 23199kb | OK | 10 | 10 |
6 | 374ms | 23461kb | OK | 10 | 10 |
7 | 1223ms | 33947kb | OK | 10 | 10 |
8 | 1571ms | 25821kb | OK | 10 | 30 |
9 | 2405ms | 26869kb | OK | 10 |
10 | 2665ms | 27262kb | OK | 10 |
Punctaj total | 100 |