M.Ibrahim_'s blog

By M.Ibrahim_, history, 3 years ago, In English

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

Full text and comments »

  • Vote: I like it
  • -20
  • Vote: I do not like it

By M.Ibrahim_, history, 3 years ago, In English

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

Full text and comments »

  • Vote: I like it
  • -25
  • Vote: I do not like it

By M.Ibrahim_, history, 4 years ago, In English

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

Full text and comments »

  • Vote: I like it
  • +17
  • Vote: I do not like it

By M.Ibrahim_, history, 5 years ago, In English

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

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it