_arjun's blog

By _arjun, 7 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

Read more »

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

By _arjun, 8 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 ?

Read more »

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

By _arjun, 9 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?

Read more »

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