11

Can anyone hack this solution or prove it correct?

 8 months ago
source link: https://codeforces.com/blog/entry/123836
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

https://codeforces.com/contest/1175/submission/238928196 For judging whether an array of length n is a 1~n permutation, I judged its sum{i^1} sum{i^2} sum{i^3} sum{i^4} and passed. Can anyone hack this solution or prove it correct? please help me :(


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK