Borderou de evaluare (job #1478702)

Utilizator Vlad_lsc2008Lungu Vlad Vlad_lsc2008 Data 29 august 2015 12:49:55
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:34: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:35: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:39: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:40: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
50ms304kbNumar de muchii incorect0
6124ms1880kbNumar de muchii incorect0
7220ms3260kbNumar de muchii incorect0
844ms1100kbNumar de muchii incorect0
952ms1100kbNumar de muchii incorect0
10196ms3260kbNumar de muchii incorect0
Punctaj total0

Ceva nu functioneaza?