_arjun's blog

By _arjun, 12 years ago, In English

Hi,

I am having a tough time with this problem. It is looking like a simple BFS, but I am continuously getting WA. Is it really BFS or I am missing something. Please help me(If possible with a test case).

My Code

Full text and comments »

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

By _arjun, 14 years ago, In English
I had posted the same at topcoder and spoj but can't get the desired help, can somebody help me here for this problemThis code is taking 8 sec and I am taking 10^9 base, how can I reduce the time ?

Full text and comments »

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

By _arjun, 14 years ago, In English
Hi,

Can anybody tell me that how can I set my vi so that on opening a X.cpp file with VI it has basic skeleton like(header files, main  function, etc.) prewritten in that?

Full text and comments »

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