Pagini recente » Borderou de evaluare (job #2429585) | Borderou de evaluare (job #1441781) | Borderou de evaluare (job #1214549) | Borderou de evaluare (job #2698674) | Borderou de evaluare (job #2712954)
Borderou de evaluare (job #2712954)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:20:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<tree[nod].size();i++)
~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:46:32: 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:47:34: 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:49:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i",&n,&m);
^
main.cpp:53:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&a);
^
main.cpp:71:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 6ms | 2490kb | OK | 10 | 10 |
2 | 11ms | 2621kb | OK | 10 | 10 |
3 | 128ms | 4325kb | OK | 10 | 10 |
4 | 871ms | 13500kb | OK | 10 | 10 |
5 | 1431ms | 20447kb | OK | 10 | 10 |
6 | 1596ms | 20840kb | OK | 10 | 10 |
7 | 2611ms | 31981kb | OK | 10 | 10 |
8 | 2800ms | 23199kb | Time limit exceeded | 0 | 0 |
9 | 2802ms | 23199kb | Time limit exceeded | 0 |
10 | 2800ms | 23068kb | Time limit exceeded | 0 |
Punctaj total | 70 |