Tariqul's blog

By Tariqul, history, 6 years ago, In English

Problem statement: http://codeforces.me/contest/1155/problem/B My code: http://codeforces.me/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.

Full text and comments »

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

By Tariqul, history, 9 years ago, In English

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

Full text and comments »

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

By Tariqul, 12 years ago, In English

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.

Full text and comments »

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

By Tariqul, 13 years ago, In English

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?

Full text and comments »

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

By Tariqul, 13 years ago, In English
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.

Full text and comments »

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

By Tariqul, 13 years ago, In English

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.

Full text and comments »

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

By Tariqul, 13 years ago, In English

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.

Full text and comments »

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

By Tariqul, 14 years ago, In English
Got Accepted Now.
:)

Full text and comments »

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

By Tariqul, 14 years ago, In English
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.

Full text and comments »

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

By Tariqul, 14 years ago, In English
How can I be a contributor ?

Full text and comments »

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

By Tariqul, 14 years ago, In English
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.

Full text and comments »

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