ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1169. Pairs

WA #1
Posted by Zamytin 13 Feb 2017 23:11
Give me test data
Re: WA #1
Posted by L0ve 21 Aug 2018 14:49
I had WA #1 as I printed loops. In other words, if my program had to output a path of length K it would print
1 1
1 2
2 2
2 3
...
(K - 1) (K - 1)
(K - 1) K

Having deleted them, I secured my AC :P