Borderou de evaluare (job #1406333)

Utilizator UTCN_FrunzaUTCN Lazar Nitu Petruta UTCN_Frunza Data 29 martie 2015 16:49:26
Problema Tempest Status done
Runda ONIS 2015, Runda 2 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int findCostXY(int, int)’: user.cpp:30:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<a[x].size(); i++) ^ user.cpp: In function ‘int bfs(int, int)’: user.cpp:56:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<a[nodul.x].size(); i++) ^ user.cpp:75:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int findCostXY(int, int)’: user.cpp:38:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘void doTest()’: user.cpp:89:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d",&n,&m,&s,&d); ^ user.cpp:93:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&x,&y,&c); ^ user.cpp:104:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nrm); ^ user.cpp:112:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&muchie); ^ user.cpp: In function ‘int main()’: user.cpp:137:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tempest.in","r",stdin); ^ user.cpp:138:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tempest.out","w",stdout); ^ user.cpp:140:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nrT); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1384ms9668kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?