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

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

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

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

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

Автор _arjun, 13 лет назад, По-английски
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 ?

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

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

Автор _arjun, 14 лет назад, По-английски
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?

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

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