Pagini recente » Borderou de evaluare (job #2774877) | Borderou de evaluare (job #2715841) | Borderou de evaluare (job #3274639) | Borderou de evaluare (job #2957248) | Borderou de evaluare (job #1252157)
Borderou de evaluare (job #1252157)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for(int i=1;i<=n;++i) scanf("%I64d",&a[i]);
^
user.cpp:26:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cocochanel.in","r",stdin);
^
user.cpp:27:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cocochanel.out","w",stdout);
^
user.cpp:30:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:32:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;++i) scanf("%I64d",&a[i]);
^
user.cpp:34:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&aux);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | OK | 10 |
| 2 | 0ms | 284kb | OK | 10 |
| 3 | 4ms | 292kb | OK | 10 |
| 4 | 4ms | 296kb | OK | 10 |
| 5 | Depăşit | 1800kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 1796kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 1796kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 1800kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 1796kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1800kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |