Borderou de evaluare (job #1946171)

Utilizator adriannicolaeAdrian Nicolae adriannicolae Data 29 martie 2017 22:40:24
Problema Teroristi2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int bfs()’: user.cpp:30:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;i<v[l].size();i++) { ^ user.cpp: In function ‘int main()’: user.cpp:49:33: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[1000005]’ [-Wformat=] scanf("%d %d\n%s\n",&n,&m,&s); ^ user.cpp:102:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] printf("%d ",sol[a][b][sol[a][b].size()-1]); ^ user.cpp:102:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] printf("%d ",sol[a][b][sol[a][b].size()-1]); ^ user.cpp:102:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] printf("%d ",sol[a][b][sol[a][b].size()-1]); ^ user.cpp:102:44: warning: array subscript has type ‘char’ [-Wchar-subscripts] printf("%d ",sol[a][b][sol[a][b].size()-1]); ^ user.cpp:103:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] sol[a][b].erase(sol[a][b].begin()+sol[a][b].size()-1); ^ user.cpp:103:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] sol[a][b].erase(sol[a][b].begin()+sol[a][b].size()-1); ^ user.cpp:103:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] sol[a][b].erase(sol[a][b].begin()+sol[a][b].size()-1); ^ user.cpp:103:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] sol[a][b].erase(sol[a][b].begin()+sol[a][b].size()-1); ^ user.cpp:103:52: warning: array subscript has type ‘char’ [-Wchar-subscripts] sol[a][b].erase(sol[a][b].begin()+sol[a][b].size()-1); ^ user.cpp:103:55: warning: array subscript has type ‘char’ [-Wchar-subscripts] sol[a][b].erase(sol[a][b].begin()+sol[a][b].size()-1); ^ user.cpp:47:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("teroristi2.in","r",stdin); ^ user.cpp:48:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("teroristi2.out","w",stdout); ^ user.cpp:49:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n%s\n",&n,&m,&s); ^ user.cpp:53:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c %c\n",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms324kbIncorect00
20ms324kbKilled by signal 11(SIGSEGV).00
30ms320kbKilled by signal 11(SIGSEGV).00
40ms320kbKilled by signal 11(SIGSEGV).00
50ms324kbKilled by signal 11(SIGSEGV).00
60ms324kbKilled by signal 11(SIGSEGV).0
70ms324kbKilled by signal 11(SIGSEGV).00
80ms324kbKilled by signal 11(SIGSEGV).0
90ms324kbKilled by signal 11(SIGSEGV).00
100ms328kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?