Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

Unable to understand why my output is wrong ;)
Difference between en1 and en2, changed 3 character(s)
Hello all, I'm [user:Geekarka,2024-07-21] and I got wrong answer on pretest 2 11th testcase in my [submission:271612109] for the problem [problem:1990B] of [contest:961990]. The testcase is 5 2 1 (n=5, x=2, y=1). My output is 1 1 -1 -1 -1. The correct answer is 1 1 -1 1 -1. ↵
I will be very grateful if someone helps me understand this.↵
Thank you.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Geekarka 2024-07-21 11:01:34 3 Tiny change: ' [contest:960]. The te' -> ' [contest:1990]. The te'
en1 English Geekarka 2024-07-21 10:59:18 392 Initial revision (published)