Pagini recente » Borderou de evaluare (job #2073978) | Borderou de evaluare (job #49315) | Borderou de evaluare (job #2292848) | Borderou de evaluare (job #876255) | Borderou de evaluare (job #1254558)
Borderou de evaluare (job #1254558)
Raport evaluator
Compilare:
user.cpp: In function ‘void fil(short int, short int)’:
user.cpp:16:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x=i+auxx[k];y=j+auxy[k];
^
user.cpp:16:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x=i+auxx[k];y=j+auxy[k];
^
user.cpp: In function ‘int main()’:
user.cpp:26:28: 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:26:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:26:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:28:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
for(int j=1;j<=m;j++) scanf("%d",&v[i][j]);
^
user.cpp:24:38: 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:25:40: 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:26:29: 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:28:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int j=1;j<=m;j++) scanf("%d",&v[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Incorect | 0 |
2 | 0ms | 252kb | Incorect | 0 |
3 | 0ms | 252kb | Incorect | 0 |
4 | 0ms | 252kb | Incorect | 0 |
5 | 0ms | 256kb | Incorect | 0 |
6 | 0ms | 252kb | Incorect | 0 |
7 | 0ms | 252kb | Incorect | 0 |
8 | 0ms | 248kb | Incorect | 0 |
9 | 0ms | 248kb | Incorect | 0 |
10 | 0ms | 252kb | Incorect | 0 |
Punctaj total | 0 |