[problem:https://codeforces.com/gym/440884/problem/A]
Hint
Solution
Code
# | User | Rating |
---|---|---|
1 | tourist | 3843 |
2 | jiangly | 3705 |
3 | Benq | 3628 |
4 | orzdevinwang | 3571 |
5 | Geothermal | 3569 |
5 | cnnfls_csy | 3569 |
7 | jqdai0815 | 3530 |
8 | ecnerwala | 3499 |
9 | gyh20 | 3447 |
10 | Rebelz | 3409 |
# | User | Contrib. |
---|---|---|
1 | maomao90 | 171 |
2 | awoo | 164 |
3 | adamant | 162 |
4 | TheScrasse | 159 |
5 | maroonrk | 154 |
5 | nor | 154 |
7 | -is-this-fft- | 152 |
8 | Petr | 146 |
8 | orz | 146 |
10 | pajenegod | 144 |
A2SV G4 Contest #14
[problem:https://codeforces.com/gym/440884/problem/A]
Try what can you achieve with the given operation.
Given a sequence of numbers, the minimum value that can be obtained by applying the given bitwise AND operation is a1 & a2 & a3 & ... & an, since ANDing can't turn on any off bits but can only turn off on bits. By repeatedly applying the operation on suitable intervals, Mocha can make each number in the sequence a1 & a2 & a3 & ... & a4 . This can be achieved by performing the operation on each l, r possible pairs.
[submission:203874032]
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en6 | a2sv | 2023-05-04 08:47:37 | 40 | (published) | ||
en5 | a2sv | 2023-05-04 08:47:12 | 195 | problem e | ||
en4 | a2sv | 2023-05-03 16:22:57 | 290 | Problem D | ||
en3 | a2sv | 2023-05-03 16:19:09 | 701 | Problem C | ||
en2 | a2sv | 2023-05-02 16:21:38 | 1085 | Problem B | ||
en1 | a2sv | 2023-05-02 14:09:39 | 694 | Question A (saved to drafts) |
Name |
---|