Borderou de evaluare (job #2116272)

Utilizator mariakKapros Maria mariak Data 27 ianuarie 2018 14:30:39
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:110: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
18ms5224kbOK10
28ms5340kbOK10
332ms6460kbOK10
428ms6484kbOK10
5272ms12632kbOK10
6400ms15140kbOK10
7804ms23804kbOK10
8856ms25168kbOK10
9Depăşit29764kbTime limit exceeded.0
10Depăşit29768kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?