Pagini recente » Borderou de evaluare (job #3023161) | Borderou de evaluare (job #3007367) | Borderou de evaluare (job #2090731) | Borderou de evaluare (job #2202985) | Borderou de evaluare (job #1411541)
Borderou de evaluare (job #1411541)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.in","r",stdin);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.out","w",stdout);
^
user.cpp:15:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &n), EM = 0 , k = 2 , i = 1; i <= n; ++i)
^
user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | OK | 10 |
| 2 | 0ms | 252kb | OK | 10 |
| 3 | 0ms | 256kb | OK | 10 |
| 4 | 0ms | 292kb | OK | 10 |
| 5 | 12ms | 452kb | OK | 10 |
| 6 | 24ms | 648kb | OK | 10 |
| 7 | 48ms | 1040kb | OK | 10 |
| 8 | 124ms | 2212kb | OK | 10 |
| 9 | 248ms | 4160kb | OK | 10 |
| 10 | 268ms | 4156kb | OK | 10 |
| Punctaj total | 100 |