Pagini recente » Borderou de evaluare (job #1803241) | Borderou de evaluare (job #2221654) | Borderou de evaluare (job #236684) | Borderou de evaluare (job #622420) | Borderou de evaluare (job #1378374)
Borderou de evaluare (job #1378374)
Raport evaluator
Compilare:
user.cpp: In function ‘void lee()’:
user.cpp:25:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp: In function ‘int main()’:
user.cpp:50:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d %d",&n,&m);
^
user.cpp:50:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:52:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d %d",&ax,&ay),a[ax][ay]=-1;
^
user.cpp:52:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:54:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d %d",&c[1].x,&c[1].y);
^
user.cpp:54:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:56:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d %d",&sx,&sy);
^
user.cpp:56:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:47:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp:50:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&n,&m);
^
user.cpp:52:47: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&ax,&ay),a[ax][ay]=-1;
^
user.cpp:54:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&c[1].x,&c[1].y);
^
user.cpp:56:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&sx,&sy);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 608kb | Incorect | 0 |
| 2 | 0ms | 612kb | Incorect | 0 |
| 3 | 0ms | 616kb | Incorect | 0 |
| 4 | 0ms | 612kb | Incorect | 0 |
| 5 | 0ms | 612kb | Incorect | 0 |
| 6 | 0ms | 608kb | Incorect | 0 |
| 7 | 4ms | 616kb | Incorect | 0 |
| 8 | 0ms | 612kb | Incorect | 0 |
| 9 | 0ms | 608kb | Incorect | 0 |
| 10 | 0ms | 612kb | Incorect | 0 |
| Punctaj total | 0 |