Pagini recente » Borderou de evaluare (job #14319) | Borderou de evaluare (job #1941042) | Borderou de evaluare (job #417300) | Borderou de evaluare (job #1673634) | Borderou de evaluare (job #1237742)
Borderou de evaluare (job #1237742)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &x); a[i+j-1]+=x; b[i-j+n]+=x;
^
user.cpp:6:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("diagonale.in","r",stdin);
^
user.cpp:7:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("diagonale.out","w",stdout);
^
user.cpp:8:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n); mx=LLONG_MIN;
^
user.cpp:10:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x); a[i+j-1]+=x; b[i-j+n]+=x;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 332ms | 304kb | Incorect | 0 | 0 |
2 | 332ms | 304kb | Incorect | 0 |
3 | 212ms | 300kb | Incorect | 0 |
4 | 252ms | 296kb | Incorect | 0 |
5 | 328ms | 304kb | Incorect | 0 |
6 | 280ms | 304kb | Incorect | 0 |
7 | 208ms | 300kb | Incorect | 0 |
8 | 280ms | 296kb | Incorect | 0 |
9 | 248ms | 300kb | Incorect | 0 |
10 | 308ms | 300kb | Incorect | 0 |
Punctaj total | 0 |