turzo_sawroop's blog

By turzo_sawroop, history, 5 weeks ago, In English

https://atcoder.jp/contests/arc114/tasks/arc114_a — Problem Link

https://atcoder.jp/contests/arc114/submissions/22547550 — Submission Link

This submission gets AC verdict in this problem.But it shouldn't.Because just look at this case:

6.....45 15 21 35 33 7

This Gives Output : 105 But the Optimal Answer is : 21

This was a problem from a contest like ARC.So shouldn't there be option for hacking solutions in AtCoder???

 
 
 
 
  • Vote: I like it
  • +27
  • Vote: I do not like it