Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

Need Some Technical Help in Need More Arrays Problem

Revision en3, by Phantom_Dracula, 2025-05-26 19:50:03

In the most recent Div-3 Contest Codeforces Round 1027 (Div. 3), the 3rd problem titled Need More Arrays 2114C - Need More Arrays I submitted a simple C++ program 321476944 but the checker said it is wrong on line 5 ![ ](http://codeforces.me/1c1080/WhatsApp Image 2025-05-26 at 21.13.36_f24d9b5e.jpg) with the output showing as 2 whereas the output showed 3 in multiple online compilers like codechef and onecompiler![ ](http://codeforces.me/27faf7/WhatsApp Image 2025-05-26 at 21.14.57_972d9926.jpg), I actually do not care about the wrong submissions but just want to comprehend what the problem might be as to avoid the same in future.

Tags #contest, #error, #firstblog

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en5 English Phantom_Dracula 2025-05-26 19:53:32 0 (published)
en4 English Phantom_Dracula 2025-05-26 19:52:14 18
en3 English Phantom_Dracula 2025-05-26 19:50:03 5 Tiny change: 'lers like codechef![ ](http://c' -> 'lers like ![codechef](http://c'
en2 English Phantom_Dracula 2025-05-26 19:48:32 4 Tiny change: 'b/WhatsApp Image 2025-05-26 at 21.14.35_d' -> 'b/WhatsAppImage2025-05-26at21.14.35_d'
en1 English Phantom_Dracula 2025-05-26 19:47:40 777 Initial revision (saved to drafts)