Comments
On sshwyRCodeforces Round #664, 6 years ago
+11

Seems his plan worked

On sshwyRCodeforces Round #664, 6 years ago
+13

I was so happy after giving the round but Wrong answer on test 31.

On sshwyRCodeforces Round #664, 6 years ago
0

Asia's richest man, Worlds 4th. He is definitely very rich but I don't think it the right answer. Suneo's dad and Richie Rich are much more likely candidates.

The output format is wrong. You need to print the minimum number of subsequences.

Can someone tell me what's wrong with this solution (Problem E1)(java)? I am getting Wrong answer on test 10 https://mirror.codeforces.com/contest/1399/submission/89125495

I am not sure if i am not understanding the question but i think for input

1

3

2 3 2

1 2 3

answer should be 2 but the solution provided gives answer 3. Plz can any one explain me where if i am wrong because i think 2 & 3 form a loop