Borderou de evaluare (job #1254717)

Utilizator beldeabogdanBogdan Beldea beldeabogdan Data 3 noiembrie 2014 11:48:05
Problema Boom Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘bool exists(int)’: user.cpp:58:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((it -> currentConfig) == conf) return true; ^ user.cpp: In function ‘void updateG(str)’: user.cpp:73:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((it -> currentConfig) == conf) *it = nou; ^ user.cpp: In function ‘str strOf(int)’: user.cpp:81:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((it -> currentConfig) == conf) return *it; ^ user.cpp: In function ‘int main()’: user.cpp:92:13: warning: unused variable ‘conf’ [-Wunused-variable] int conf,q; ^ user.cpp:121:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (lastSTR.cost <= newCost) continue; ^ user.cpp:123:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (newCost < bestBombingCost) ^ user.cpp:133:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (newCost < bestBombingCost) ^ user.cpp:144:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (ct.currentConfig != initConfig) ^ user.cpp: In function ‘str strOf(int)’: user.cpp:83:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:87:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("boom.in","r",stdin); ^ user.cpp:88:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("boom.out","w",stdout); ^ user.cpp:89: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:93:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&bombs[i].cost,&q); ^ user.cpp:97:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&ct); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms8072kbJust perfect!10
212ms8076kbJust perfect!10
312ms8076kbJust perfect!10
412ms8072kbJust perfect!10
58ms8052kbKilled by signal 11(SIGSEGV).0
6224msDepăşitMemory limit exceeded.0
712ms8108kbThe rat is still alive!0
8228msDepăşitMemory limit exceeded.0
9236msDepăşitMemory limit exceeded.0
1052ms8456kbThe rat is still alive!0
Punctaj total40

Ceva nu functioneaza?