We will hold AtCoder Regular Contest 161.
- Contest URL: https://atcoder.jp/contests/arc161
- Start Time: http://www.timeanddate.com/worldclock/fixedtime.html?iso=20230528T2100&p1=248
- Duration: 120 minutes
- Number of Tasks: 6
- Writer: ygussany
- Tester: tatyam, potato167
- Rated range: — 2799
The point values will be 300-400-500-500-800-900.
We are looking forward to your participation!
Can someone tells me where it fails,it passes -(35,36) testcases.
Code- Link. Spend 1 hr and couldn't decode it.
$$$n\cdot (n-1)$$$ overflows, I had the same mistake.
Thank you,can't see that in 1 hr ,i'm going to cry now.
D*N <= 2e4?
iiand D*N<=5e4.
Got 2 WA due to this :(
I couldn't understand why my solution for E wasn't working on samples. After the contest, I realized that apparently, this is not how a graph with $$$3n/2$$$ edges should be read...