Borderou de evaluare (job #2116261)

Utilizator mariakKapros Maria mariak Data 27 ianuarie 2018 14:21:49
Problema Kdist Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void Read()’: user.cpp:30:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &C); ^ user.cpp:33:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &u, &v); ^ user.cpp:38:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &Node[i].c); ^ user.cpp: In function ‘long long int SumDist(int)’: user.cpp:109:16: warning: ‘v’ may be used uninitialized in this function [-Wmaybe-uninitialized] sol += 1LL * Node[v].lvl * sz; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms5236kbOK10
28ms5348kbOK10
332ms6464kbOK10
428ms6492kbOK10
5276ms12640kbOK10
6404ms15144kbOK10
7800ms23812kbOK10
8852ms25168kbOK10
9Depăşit29772kbTime limit exceeded.0
10Depăşit29768kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?