Borderou de evaluare (job #1635471)

Utilizator VladTiberiuMihailescu Vlad Tiberiu VladTiberiu Data 6 martie 2016 18:02:48
Problema Zmeu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:69:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < G[nod].size(); ++i){ ^ user.cpp:67:13: warning: unused variable ‘cost’ [-Wunused-variable] int cost = q.front().cost; ^ user.cpp:27:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zmeu.in","r",stdin); ^ user.cpp:28:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zmeu.out","w",stdout); ^ user.cpp:30:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&p); ^ user.cpp:36:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i][j]); ^ user.cpp:42:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&b[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
140msDepăşitMemory limit exceeded.0
20ms372kbOK10
30ms1632kbKilled by signal 11(SIGSEGV).0
412msDepăşitMemory limit exceeded.0
524msDepăşitMemory limit exceeded.0
636msDepăşitMemory limit exceeded.0
736msDepăşitMemory limit exceeded.0
836msDepăşitMemory limit exceeded.0
932msDepăşitMemory limit exceeded.0
1040msDepăşitMemory limit exceeded.0
Punctaj total10

Ceva nu functioneaza?