suggi_d_luffy's blog

By suggi_d_luffy, history, 9 years ago, In English

Problem Link : Copying Books

I have arrived at the minimum of the maximum values.But I am not able to figure out how to partition the books.

My Solution : Ideone

Please guide me as to how to print the partitioning of the books.Do I need to know more to find out how to partition? or is this just enough to compute the partitioning.If this is enough,how do I compute it?

Full text and comments »

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

By suggi_d_luffy, history, 9 years ago, In English

Problem Link : XMEN

Solution Link : Solution

Full text and comments »

Tags dp, spoj
  • Vote: I like it
  • 0
  • Vote: I do not like it

By suggi_d_luffy, history, 9 years ago, In English

problem link : ABCPATH solution link : Solution Not understanding why the two const int arrays dx,dy are taken and also preempted with certain specific values(0,-1,1).

Full text and comments »

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

By suggi_d_luffy, history, 9 years ago, In English

Off late I have been encountering problems which ask to solve me queries like: GCDQ

STRQ

How to tackle such problems.Are there good resources to study these topics.Please post links if there are any resources and suggest strategies.

Full text and comments »

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

By suggi_d_luffy, history, 9 years ago, In English

Giving WA.Where is the error? Problem link : 147 — Dollars Solution link : SOLUTION

Full text and comments »

Tags wa, help
  • Vote: I like it
  • -3
  • Vote: I do not like it

By suggi_d_luffy, history, 9 years ago, In English

Here's my code.Its working for the given test cases but giving a WA on submission.

Solution link : http://ideone.com/JcEHbc Problem link : Uva 410

Full text and comments »

Tags wa, help
  • Vote: I like it
  • +3
  • Vote: I do not like it