Borderou de evaluare (job #1387144)

Utilizator sergiunascaSergiu Nasca sergiunasca Data 13 martie 2015 19:18:42
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void APM(int)’: user.cpp:37:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<G[aux.x].size();++i) ^ user.cpp:53:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<G[aux.y].size();++i) ^ user.cpp:68:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(SUB.size()==n-1)break; ^ user.cpp: In function ‘int main()’: user.cpp:83:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<G[1].size();++i) ^ user.cpp:94:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<SUB.size();++i) ^ user.cpp:74: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:75: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:76:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ user.cpp:79:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&x,&y,&cost); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2620kbCorect10
24ms2616kbCorect10
34ms2624kbCorect10
44ms2624kbCorect10
54ms2648kbCorect10
6172ms7000kbCorect10
7328ms9180kbCorect10
860ms4188kbCorect10
956ms4868kbCorect10
10284ms8772kbCorect10
Punctaj total100

Ceva nu functioneaza?