Pagini recente » Borderou de evaluare (job #510606) | Borderou de evaluare (job #466368) | Borderou de evaluare (job #2522686) | Borderou de evaluare (job #1258099) | Borderou de evaluare (job #1995272)
Borderou de evaluare (job #1995272)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:35: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
New = (Last << 1) & ((1 << k) - 1) | 1;
^
user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("margele.in", "r", stdin);
^
user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("margele.out", "w", stdout);
^
user.cpp:13:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &n, &k, &l, &r);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 480kb | OK | 10 |
2 | 0ms | 484kb | OK | 10 |
3 | 20ms | 476kb | OK | 10 |
4 | 20ms | 480kb | OK | 10 |
5 | 12ms | 476kb | OK | 10 |
6 | 0ms | 484kb | OK | 10 |
7 | 40ms | 480kb | OK | 10 |
8 | 0ms | 480kb | OK | 10 |
9 | 200ms | 476kb | OK | 10 |
10 | 252ms | 476kb | OK | 10 |
Punctaj total | 100 |