Pagini recente » Borderou de evaluare (job #1047890) | Borderou de evaluare (job #2659646) | Borderou de evaluare (job #716311) | Borderou de evaluare (job #1811796) | Borderou de evaluare (job #1495904)
Borderou de evaluare (job #1495904)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:17: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
if (contor < n>>1+1) {
^
user.cpp:6:35: 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:7: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:9:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n", &n);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 4ms | 308kb | OK | 10 |
5 | 16ms | 456kb | OK | 10 |
6 | 36ms | 660kb | OK | 10 |
7 | 68ms | 1048kb | OK | 10 |
8 | 164ms | 2216kb | OK | 10 |
9 | 304ms | 4164kb | OK | 10 |
10 | 336ms | 4168kb | OK | 10 |
Punctaj total | 100 |