Pagini recente » Borderou de evaluare (job #1699763) | Borderou de evaluare (job #2567128) | Borderou de evaluare (job #2815783) | Borderou de evaluare (job #937712) | Borderou de evaluare (job #2566054)
Borderou de evaluare (job #2566054)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:42:29: 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:43:31: 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:44:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);++m;
^
main.cpp:46:91: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr),tata[i]=nr,arb[(i)].push_back(nr),arb[nr].push_back(i),l[i]=l[(i>>1)]+1;
^
main.cpp:49:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &nod1, &nod2);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 6ms | 2621kb | OK | 10 | 10 |
| 2 | 9ms | 2621kb | OK | 10 | 10 |
| 3 | 27ms | 3670kb | OK | 10 | 10 |
| 4 | 220ms | 9437kb | OK | 10 | 10 |
| 5 | 233ms | 14155kb | OK | 10 | 10 |
| 6 | 343ms | 14286kb | OK | 10 | 10 |
| 7 | 1533ms | 18350kb | OK | 10 | 10 |
| 8 | 1612ms | 16777kb | OK | 10 | 30 |
| 9 | 2449ms | 17694kb | OK | 10 |
| 10 | 2789ms | 18219kb | OK | 10 |
| Punctaj total | 100 |