Pagini recente » Borderou de evaluare (job #2383368) | Borderou de evaluare (job #543623) | Borderou de evaluare (job #220887) | Borderou de evaluare (job #146942) | Borderou de evaluare (job #2712951)
Borderou de evaluare (job #2712951)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:19: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:40: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:41: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:43: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:47:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&a);
^
main.cpp:65: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 | 7ms | 2490kb | OK | 10 | 10 |
| 2 | 12ms | 2621kb | OK | 10 | 10 |
| 3 | 147ms | 4194kb | OK | 10 | 10 |
| 4 | 947ms | 12976kb | OK | 10 | 10 |
| 5 | 1466ms | 19660kb | OK | 10 | 10 |
| 6 | 1627ms | 19972kb | OK | 10 | 10 |
| 7 | 2802ms | 31035kb | Time limit exceeded | 0 | 0 |
| 8 | 2802ms | 21700kb | Time limit exceeded | 0 | 0 |
| 9 | 2801ms | 21549kb | Time limit exceeded | 0 |
| 10 | 2800ms | 22675kb | Time limit exceeded | 0 |
| Punctaj total | 60 |