Pagini recente » Borderou de evaluare (job #246579) | Borderou de evaluare (job #1037441) | Borderou de evaluare (job #2854296) | Borderou de evaluare (job #946913) | Borderou de evaluare (job #1946171)
Borderou de evaluare (job #1946171)
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 |
1 | 0ms | 324kb | Incorect | 0 | 0 |
2 | 0ms | 324kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
3 | 0ms | 320kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
4 | 0ms | 320kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 0ms | 324kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 0ms | 324kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 324kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 0ms | 324kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 324kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
10 | 0ms | 328kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |