Блог пользователя M.Ibrahim_

Автор M.Ibrahim_, история, 3 года назад, По-английски

You can find the solution of Problem A Div1 as soon as you search about it.

You can see this link

you've to add just one condition in ”else” and get problem accepted

if(i == pp.first || i == pp.second || j == pp.first || j == pp.second) continue;

Accepted Solution 109890606

Therefore, this is unfair to some of the contestants.

Is it possible to find a solution ???

ch_egor

MikeMirzayanov

Полный текст и комментарии »

  • Проголосовать: нравится
  • -20
  • Проголосовать: не нравится

Автор M.Ibrahim_, история, 3 года назад, По-английски

You can find the solution of Problem A Div1 as soon as you search about it.

You can see this link

you've to add just one condition in ”else” and get problem accepted

if(i == pp.first || i == pp.second || j == pp.first || j == pp.second) continue;

Accepted Solution 109890606

Therefore, this is unfair to some of the contestants.

Is it possible to find a solution ???

ch_egor

MikeMirzayanov

Полный текст и комментарии »

  • Проголосовать: нравится
  • -25
  • Проголосовать: не нравится

Автор M.Ibrahim_, история, 4 года назад, По-английски

in this gym 2020, XIII Samara Regional Intercollegiate Programming Contest

in this problem

this test case are missed

2
0 1
-1 1

and this code get accepted
however his output in this test is "YES", but the correct answer is "NO"

if possible to add this test ???
dalex

Полный текст и комментарии »

  • Проголосовать: нравится
  • +17
  • Проголосовать: не нравится

Автор M.Ibrahim_, история, 5 лет назад, По-английски

can any one help me and tell me why this code get TLE 56138526

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится