said_v15's blog

By said_v15, history, 5 months ago, translation, In English,

Please, tell me why my code does not work on the test 7. Here is a link of my submission: 54374953

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

»
5 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been translated by said_v15 (original revision, translated revision, compare)

»
5 months ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

I think you didn't understand the problem well what is the meaning of this condition "if(sila[i]==ych) {j=shk[i]; break;}" he gives you k integers (the Chosen Ones) and you want to know if the ych'th (as in your code) person is the strongest in his school or not you may check my solution if you want 50745313

»
5 months ago, # |
  Vote: I like it +4 Vote: I do not like it

Thanks to BerserkVl and pr.kassad for their help. I only did not read all problem's text. Now I have solved it. This is the link of my submission:54422096