Pagini recente » Borderou de evaluare (job #1163808) | Borderou de evaluare (job #995828) | Borderou de evaluare (job #555994) | Borderou de evaluare (job #1186602) | Borderou de evaluare (job #2449706)
Borderou de evaluare (job #2449706)
Raport evaluator
Compilare:
main.cpp: In function 'void read()':
main.cpp:21:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("euler.in", "r", stdin);
^
main.cpp:22:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:23:51: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=2*n-1; ++i) scanf("%d", &euler[i]);
^
main.cpp: In function 'void write()':
main.cpp:46:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("euler.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 8ms | 262kb | OK | 10 |
5 | 9ms | 262kb | OK | 10 |
6 | 56ms | 1048kb | OK | 10 |
7 | 3ms | 131kb | OK | 10 |
8 | 43ms | 917kb | OK | 10 |
9 | 144ms | 2621kb | OK | 10 |
10 | 252ms | 4718kb | Time limit exceeded | 0 |
Punctaj total | 90 |