Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #3325089) | Borderou de evaluare (job #2320550) | Borderou de evaluare (job #2463740) | Borderou de evaluare (job #1413271)
Borderou de evaluare (job #1413271)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10: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:11: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:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:13:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&a[1]);
^
user.cpp:15:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=2;i<=n;i++) {scanf("%ld",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 444kb | OK | 10 |
| 2 | 0ms | 440kb | OK | 10 |
| 3 | 0ms | 444kb | OK | 10 |
| 4 | 0ms | 480kb | OK | 10 |
| 5 | 12ms | 632kb | OK | 10 |
| 6 | 24ms | 832kb | OK | 10 |
| 7 | 60ms | 1224kb | OK | 10 |
| 8 | 120ms | 2400kb | OK | 10 |
| 9 | 244ms | 4348kb | OK | 10 |
| 10 | 260ms | 4344kb | OK | 10 |
| Punctaj total | 100 |