Pagini recente » Borderou de evaluare (job #2636316) | Borderou de evaluare (job #1061549) | Borderou de evaluare (job #1988203) | Borderou de evaluare (job #1099970) | Borderou de evaluare (job #1598636)
Borderou de evaluare (job #1598636)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d %d",&n,&m,&h);
^
user.cpp:35:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:35:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:39:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&harta[i][j]);
^
user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tsunami.in","r",stdin);
^
user.cpp:32:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tsunami.out","w",stdout);
^
user.cpp:35:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&m,&h);
^
user.cpp:39:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&harta[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | Incorect | 0 |
| 2 | 0ms | 272kb | Incorect | 0 |
| 3 | 0ms | 276kb | Incorect | 0 |
| 4 | 0ms | 268kb | Incorect | 0 |
| 5 | 0ms | 272kb | Incorect | 0 |
| 6 | 0ms | 272kb | Incorect | 0 |
| 7 | 0ms | 268kb | Incorect | 0 |
| 8 | 0ms | 272kb | Incorect | 0 |
| 9 | 0ms | 272kb | Incorect | 0 |
| 10 | 0ms | 272kb | Incorect | 0 |
| Punctaj total | 0 |