We will hold AtCoder Regular Contest 199 (Div. 1).
- Contest URL: https://atcoder.jp/contests/arc199
- Start Time: http://www.timeanddate.com/worldclock/fixedtime.html?iso=20250601T2100&p1=248
- Duration: 150 minutes
- Number of Tasks: 4
- Writer: toam
- Tester: sotanishy, maspy
- Rated range: 1600 ~ 2999
The point values will be 800-800-900-1000.
We are looking forward to your participation!








The AGC-ization of ARC is real...
A wasted me half a round ... Nice problem but it's too alien-like.
In problem B I wonder why my solution is wrong.As you can see,first I can find all subsequences that xor up to K using Linear Basis.Also I think that among all subsequences,only 1,3,5,...n-[n is even] or 2,4,6,,...,n-[n is odd] cannot be produce.Otherwise I can make a construction.Why does that result in WA?
If you find a subset that has a xor sum = K and that subset is 1,3,5... or 0,2,4,6... but there is another subset has a xor sum = K and is not 1,3,5... or 0,2,4,6..., you will get WA. To avoid this, the method in Official Editorial is good.
A and B both were very nice.
ARC Div1 should be renamed as AGC Div2. What do you think?
Can you public some of the B's test cases. It's hard to debug.
Edit: OK, debug B is not so that hard. I've got a good method to debug B, If you can pass all $$$K\in[0,1023]$$$ if $$$A=[1,2,4,8,16,32,64,128,256,512]$$$, you can have a high chance to get AC. I don't need test cases any more. Thanks.