Pagini recente » Borderou de evaluare (job #1348697) | Borderou de evaluare (job #856268) | Borderou de evaluare (job #1000325) | Borderou de evaluare (job #1316950) | Borderou de evaluare (job #1970341)
Borderou de evaluare (job #1970341)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(fi,"%d %d " ,&n,&m);
^
user.cpp:27:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(fi,"%d %d %d %d %d %d " ,&s.lvl,&s.l,&s.c,&d.lvl,&d.l,&d.c);
^
user.cpp:27:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=]
user.cpp:27:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘char*’ [-Wformat=]
user.cpp:27:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘char*’ [-Wformat=]
user.cpp:27:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘char*’ [-Wformat=]
user.cpp:27:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘char*’ [-Wformat=]
user.cpp:30:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(fi,"%d %d %d " ,&lvl,&l,&c);
^
user.cpp:30:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘char*’ [-Wformat=]
user.cpp:30:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘char*’ [-Wformat=]
user.cpp:31:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
viz[lvl][l][c]=1;
^
user.cpp:31:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
viz[lvl][l][c]=1;
^
user.cpp:31:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
viz[lvl][l][c]=1;
^
user.cpp:37:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dist[s.lvl][s.l][s.c]=1;
^
user.cpp:37:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dist[s.lvl][s.l][s.c]=1;
^
user.cpp:37:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dist[s.lvl][s.l][s.c]=1;
^
user.cpp:44:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(check(lvl+dlvl[i],l+dl[i],c+dc[i],n)&&viz[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0&&dist[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0){
^
user.cpp:44:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(check(lvl+dlvl[i],l+dl[i],c+dc[i],n)&&viz[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0&&dist[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0){
^
user.cpp:44:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(check(lvl+dlvl[i],l+dl[i],c+dc[i],n)&&viz[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0&&dist[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0){
^
user.cpp:44:65: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(check(lvl+dlvl[i],l+dl[i],c+dc[i],n)&&viz[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0&&dist[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0){
^
user.cpp:44:74: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(check(lvl+dlvl[i],l+dl[i],c+dc[i],n)&&viz[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0&&dist[lvl+dlvl[i]][l+dl[i]][c+dc[i]]==0){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 292ms | 11660kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 308ms | 11660kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 292ms | 11660kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 288ms | 11664kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 288ms | 11656kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 288ms | 11656kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 288ms | 11664kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 288ms | 11656kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 288ms | 11664kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 292ms | 11660kb | Killed by signal 11(SIGSEGV). | 0 |
11 | 316ms | 11664kb | Killed by signal 11(SIGSEGV). | 0 |
12 | 288ms | 11660kb | Killed by signal 11(SIGSEGV). | 0 |
13 | 312ms | 11660kb | Killed by signal 11(SIGSEGV). | 0 |
14 | 304ms | 11660kb | Killed by signal 11(SIGSEGV). | 0 |
15 | 300ms | 11660kb | Killed by signal 11(SIGSEGV). | 0 |
16 | 304ms | 11660kb | Killed by signal 11(SIGSEGV). | 0 |
17 | 308ms | 11660kb | Killed by signal 11(SIGSEGV). | 0 |
18 | 288ms | 11660kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 292ms | 11660kb | Killed by signal 11(SIGSEGV). | 0 |
20 | 288ms | 11660kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |