Reminder: in case of any technical issues, you can use the lightweight website m1.codeforces.com, m2.codeforces.com, m3.codeforces.com. ×

Help in Productive Meeting problem !!

Revision en1, by abcdqwerty12345, 2021-09-28 22:41:12

Hello everyone! This is my code for submission of this problem that occured in today's Div-3 contest

Here the judgement for the case 31 of test-case 2 says:- wrong answer Exceeded limit of person 8 on step 4 (test case 31)

The test case 31 is

10

4 1 0 1 1 1 0 2 1 0

My code is giving the following output:-

5

8 1

8 1

9 1

6 1

4 9

I could not find any error in the answer. Person 8 has 2 sociability .Hence can appear in at-most 2 times.Where is the issue then??

Thanks in advance !!!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English abcdqwerty12345 2021-09-28 22:41:12 730 Initial revision (published)