Borderou de evaluare (job #1478706)

Utilizator Vlad_lsc2008Lungu Vlad Vlad_lsc2008 Data 29 august 2015 13:00:19
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:41:32: 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:42:34: 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:46: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:47:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(;m;m--) { scanf("%d%d%d",&n1,&n2,&price); l.nod1=n1; l.nod2=n2; l.cost=price; c.push(l); } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbNumar de muchii incorect0
20ms276kbNumar de muchii incorect0
30ms284kbNumar de muchii incorect0
40ms288kbNumar de muchii incorect0
50ms296kbNumar de muchii incorect0
6Depăşit1852kbTime limit exceeded.0
7Depăşit3252kbTime limit exceeded.0
8Depăşit1096kbTime limit exceeded.0
9112ms1096kbNumar de muchii incorect0
10Depăşit3260kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?