Pagini recente » Cod sursa (job #460305) | Cod sursa (job #952911) | Cod sursa (job #159057) | Cod sursa (job #701488) | Borderou de evaluare (job #1970328)
Borderou de evaluare (job #1970328)
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 | 312ms | Depăşit | Memory limit exceeded. | 0 |
| 2 | 312ms | Depăşit | Memory limit exceeded. | 0 |
| 3 | 312ms | Depăşit | Memory limit exceeded. | 0 |
| 4 | 312ms | Depăşit | Memory limit exceeded. | 0 |
| 5 | 312ms | Depăşit | Memory limit exceeded. | 0 |
| 6 | 320ms | Depăşit | Memory limit exceeded. | 0 |
| 7 | 312ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 324ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 320ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 312ms | Depăşit | Memory limit exceeded. | 0 |
| 11 | 324ms | Depăşit | Memory limit exceeded. | 0 |
| 12 | 312ms | Depăşit | Memory limit exceeded. | 0 |
| 13 | 324ms | Depăşit | Memory limit exceeded. | 0 |
| 14 | 312ms | Depăşit | Memory limit exceeded. | 0 |
| 15 | 324ms | Depăşit | Memory limit exceeded. | 0 |
| 16 | 312ms | Depăşit | Memory limit exceeded. | 0 |
| 17 | 312ms | Depăşit | Memory limit exceeded. | 0 |
| 18 | 312ms | Depăşit | Memory limit exceeded. | 0 |
| 19 | 312ms | Depăşit | Memory limit exceeded. | 0 |
| 20 | 312ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 0 |