Borderou de evaluare (job #1407956)

Utilizator UTCN_FrunzaUTCN Lazar Nitu Petruta UTCN_Frunza Data 29 martie 2015 19:46:33
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:23: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:39:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<a[index].size(); i++) ^ user.cpp:62:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int findCostXY(int, int)’: user.cpp:31:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘void doTest()’: user.cpp:77: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:81: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:92:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nrm); ^ user.cpp:101: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:135: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:136: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:138: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
1388ms10064kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?