Pagini recente » Borderou de evaluare (job #2413796) | Borderou de evaluare (job #213648) | Borderou de evaluare (job #1777192) | Borderou de evaluare (job #1765333) | Borderou de evaluare (job #1378384)
Borderou de evaluare (job #1378384)
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:52: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:52:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:54: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:54:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:56: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:56:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:58: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:58:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:49:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp:52: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:54: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:56: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:58: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 | 440kb | Incorect | 0 |
| 2 | 0ms | 436kb | Incorect | 0 |
| 3 | 0ms | 436kb | Incorect | 0 |
| 4 | 0ms | 440kb | Incorect | 0 |
| 5 | 0ms | 436kb | Incorect | 0 |
| 6 | 0ms | 440kb | Incorect | 0 |
| 7 | 4ms | 436kb | Incorect | 0 |
| 8 | 0ms | 444kb | Incorect | 0 |
| 9 | 0ms | 440kb | Incorect | 0 |
| 10 | 0ms | 440kb | Incorect | 0 |
| Punctaj total | 0 |