Pagini recente » Borderou de evaluare (job #2732304) | Borderou de evaluare (job #242774) | Borderou de evaluare (job #1211572) | Borderou de evaluare (job #2243630) | Borderou de evaluare (job #1252406)
Borderou de evaluare (job #1252406)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:36: 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:10:38: 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("%d", &n);
^
user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:29:36: 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:30:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 296kb | OK | 10 |
5 | 12ms | 448kb | OK | 10 |
6 | 24ms | 644kb | OK | 10 |
7 | 52ms | 1040kb | OK | 10 |
8 | 120ms | 2216kb | OK | 10 |
9 | 240ms | 4160kb | OK | 10 |
10 | 272ms | 4160kb | OK | 10 |
Punctaj total | 100 |