Pagini recente » Borderou de evaluare (job #906836) | Borderou de evaluare (job #1857741) | Borderou de evaluare (job #2397917) | Borderou de evaluare (job #106404) | Borderou de evaluare (job #1853341)
Borderou de evaluare (job #1853341)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:5: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:6: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:7:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &a[0]); elmaj=a[0]; nr=1;
^
user.cpp:9: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 | 260kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 304kb | OK | 10 |
5 | 12ms | 456kb | OK | 10 |
6 | 28ms | 652kb | OK | 10 |
7 | 56ms | 1048kb | OK | 10 |
8 | 128ms | 2224kb | OK | 10 |
9 | 256ms | 4172kb | OK | 10 |
10 | 264ms | 4168kb | OK | 10 |
Punctaj total | 100 |