Pagini recente » Borderou de evaluare (job #2385139) | Borderou de evaluare (job #964197) | Borderou de evaluare (job #2023440)
Borderou de evaluare (job #2023440)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("decrease.in", "r", stdin);
^
user.cpp:9:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("decrease.out", "w", stdout);
^
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:11:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n ; ++i) scanf("%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | OK | 10 |
2 | 0ms | 452kb | OK | 10 |
3 | 0ms | 452kb | OK | 10 |
4 | 0ms | 452kb | OK | 10 |
5 | 0ms | 448kb | OK | 10 |
6 | 4ms | 464kb | OK | 10 |
7 | 0ms | 456kb | OK | 10 |
8 | 64ms | 504kb | OK | 10 |
9 | 100ms | 500kb | OK | 10 |
10 | 88ms | 504kb | OK | 10 |
Punctaj total | 100 |