Borderou de evaluare (job #1478715)

Utilizator Vlad_lsc2008Lungu Vlad Vlad_lsc2008 Data 29 august 2015 13:20:31
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:40: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:41: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:45: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:46: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
10ms284kbNumar de muchii incorect0
20ms288kbNumar de muchii incorect0
30ms296kbNumar de muchii incorect0
40ms300kbNumar de muchii incorect0
50ms304kbNumar de muchii incorect0
6128ms1852kbNumar de muchii incorect0
7228ms3268kbNumar de muchii incorect0
844ms1108kbNumar de muchii incorect0
960ms1112kbNumar de muchii incorect0
10204ms3272kbNumar de muchii incorect0
Punctaj total0

Ceva nu functioneaza?