Блог пользователя Tariqul

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

Problem statement: http://codeforces.com/contest/1155/problem/B My code: http://codeforces.com/contest/1155/submission/53187901 I am getting the wrong answer for test case 90. But the input is very big. Unable to test it. Could someone provide a small test case for which my code gets the Wrong answer? I tried for a couple of hours but failed. Thanks.

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

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

Автор Tariqul, история, 9 лет назад, По-английски

Hi, I am facing confusion about this 142D - Help Shrek and Donkey 2 From the editorial I understood that the answer will be "First" for the following input. But I could not make the First person win manually. Could anyone please tell the steps to win for the "First" person or I have wrong understanding. Here is the input:

2 6 1
G--R--
G----R

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

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

Автор Tariqul, 12 лет назад, По-английски

In some contest, there is some string related problem. Many authors use hashing algorithm to make the solution faster. When string length is so small that hash value does not overflow, then I have no question. But when string length is too big to hash value is over flow, then how solution gives guarantee that there is no hash value of two different string is unique.

Can anyone clarify it please?

Thanks.

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

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

Автор Tariqul, 13 лет назад, По-английски

The problem link http://www.codeforces.com/contest/73/problem/B

Consider this sample input:

3

teama 1

teamb 20

teamc 10

3

17 29 35

teama

In the custom test I ran sohelH’s code for the above input which was Accepted in the contest. It gives 3 3 as output.

But when I ran some others( hos.lyric code) Accepted code for the above input. It gives 2 3 as output.

Can anyone clarify me why this difference shows?.

Am i misunderstanding something?

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

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

Автор Tariqul, 13 лет назад, По-английски
The problem statement says that:
Also each player can once per game symmetrically reflect a dot relatively to the line y = x.
What does it mean? Can anyone clarify me please?

Thanks.

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

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

Автор Tariqul, 13 лет назад, По-английски

Why Div2 coders are registering in Div1. But It said it is Only Div 1.


Is there any problem in server or I am getting misunderstanding?

Thanks.

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

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

Автор Tariqul, 13 лет назад, По-английски

In the problem statement it is said that length of roads will be maximum 1000.

But in Test case 4 and more other test case it was given more than 1000.
Can anyone clarify me whether I have wrong understanding or not.

Thanks.

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

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

Автор Tariqul, 13 лет назад, По-английски
  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор Tariqul, 13 лет назад, По-английски
When i submit code in practice room. If I get wrong answer I tried to saw the test case but unable to see complete test case. Because after giving some lines ...... is written because of large input lines. 

Now can anybody tell me how can i get particular complete test case so that i can fix my bug?.

for example: Contest Round 2 problem A test case 6 is not complete.

Thanks.

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

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

Автор Tariqul, 13 лет назад, По-английски
  • Проголосовать: нравится
  • -5
  • Проголосовать: не нравится

Автор Tariqul, 13 лет назад, По-английски
When I want to see other's solutions in the solution status page I can not go 2nd 3rd or any other page than 1st page.
How can i go other page in solution status page ?.

Thanks.

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

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