Borderou de evaluare (job #2374413)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36: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:37: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:39:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&q);
^
main.cpp:41:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T[i][0]);
^
main.cpp:48:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
main.cpp: In function 'int lca(int, int)':
main.cpp:31:26: warning: array subscript is below array bounds [-Warray-bounds]
b=T[b][log2_b];
~~~~~~~~~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 7ms | 2490kb | Incorect | 0 | 0 |
2 | 8ms | 2621kb | Incorect | 0 | 0 |
3 | 26ms | 3538kb | Incorect | 0 | 0 |
4 | 251ms | 8781kb | Incorect | 0 | 0 |
5 | 260ms | 12845kb | Incorect | 0 | 0 |
6 | 374ms | 12976kb | Incorect | 0 | 0 |
7 | 1661ms | 21889kb | Incorect | 0 | 0 |
8 | 2119ms | 15466kb | Incorect | 0 | 0 |
9 | 2665ms | 16252kb | Incorect | 0 |
10 | 2803ms | 16515kb | Time limit exceeded | 0 |
Punctaj total | 0 |