Pagini recente » Borderou de evaluare (job #2705907) | Borderou de evaluare (job #1841323)
Borderou de evaluare (job #1841323)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elemente.in", "r", stdin);
^
user.cpp:10:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elemente.out", "w", stdout);
^
user.cpp:11:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &dif);
^
user.cpp:13: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 | 272kb | OK | 10 |
5 | 8ms | 496kb | OK | 10 |
6 | 12ms | 500kb | OK | 10 |
7 | 20ms | 652kb | OK | 10 |
8 | 32ms | 808kb | OK | 10 |
9 | 44ms | 964kb | OK | 10 |
10 | 48ms | 1040kb | OK | 10 |
Punctaj total | 100 |