Pagini recente » Borderou de evaluare (job #231249) | Borderou de evaluare (job #36399) | Borderou de evaluare (job #3004091) | Borderou de evaluare (job #1852640) | Borderou de evaluare (job #1516003)
Borderou de evaluare (job #1516003)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d%d%d%d\n",&n,&m,&xi,&yi,&xf,&yf);
^
user.cpp:39:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:39:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=]
user.cpp:39:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short int*’ [-Wformat=]
user.cpp:41:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
for(j=1;j<=m;++j) scanf("%d",&a[i][j]);
^
user.cpp:37:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("padure.in","r",stdin);
^
user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("padure.out","w",stdout);
^
user.cpp:39:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d\n",&n,&m,&xi,&yi,&xf,&yf);
^
user.cpp:41:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=1;j<=m;++j) scanf("%d",&a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Incorect | 0 |
2 | 0ms | 280kb | Incorect | 0 |
3 | 0ms | 348kb | Incorect | 0 |
4 | 0ms | 440kb | Incorect | 0 |
5 | 0ms | 436kb | Incorect | 0 |
6 | 16ms | 832kb | Incorect | 0 |
7 | 44ms | 1224kb | Incorect | 0 |
8 | 104ms | 1620kb | Incorect | 0 |
9 | 176ms | 2204kb | Incorect | 0 |
10 | 188ms | 2200kb | Incorect | 0 |
Punctaj total | 0 |