Borderou de evaluare (job #1647208)

Utilizator teodor440Teodor Tonghioiu teodor440 Data 10 martie 2016 19:27:50
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:44:9: warning: unused variable ‘j’ [-Wunused-variable] int i, j, a, b, c, vertex, selectedVertex; ^ user.cpp:48:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("apm.in", "r", stdin); ^ user.cpp:49:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("apm.out", "w", stdout); ^ user.cpp:50:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:53:146: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (i = 1; i <= m; i++) scanf("%d%d%d", &a, &b, &c), tree[a - 1].push(*new edge(a - 1, b - 1, c)), tree[b - 1].push(*new edge(b - 1, a - 1, c)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbCorect10
20ms436kbCorect10
30ms472kbCorect10
40ms472kbCorect10
50ms496kbCorect10
6Depăşit8768kbTime limit exceeded.0
7Depăşit14496kbTime limit exceeded.0
8Depăşit3720kbTime limit exceeded.0
9132ms4296kbCorect10
10Depăşit13048kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?