Pagini recente » Borderou de evaluare (job #371383) | Borderou de evaluare (job #1716634) | Borderou de evaluare (job #2259871) | Borderou de evaluare (job #1837656) | Borderou de evaluare (job #1196773)
Borderou de evaluare (job #1196773)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&v[i][j]);
^
user.cpp:24:18: warning: left operand of comma operator has no effect [-Wunused-value]
for(o=m;o>=1,hig>=0;o--,hig--)
^
user.cpp:27:22: warning: left operand of comma operator has no effect [-Wunused-value]
for(p=n;p>=1,wid>=0;p--,wid--)
^
user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tort2.in","r",stdin);
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tort2.out","w",stdout);
^
user.cpp:9:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&m,&n,&k);
^
user.cpp:13:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 348kb | OK | 10 |
3 | 0ms | 380kb | OK | 10 |
4 | 0ms | 524kb | OK | 10 |
5 | 4ms | 736kb | OK | 10 |
6 | 8ms | 860kb | OK | 10 |
7 | 24ms | 1460kb | OK | 10 |
8 | 16ms | 860kb | OK | 10 |
9 | 20ms | 860kb | OK | 10 |
10 | 84ms | 1460kb | OK | 10 |
Punctaj total | 100 |