hackerrank_vim_plugin

Suppose you are are working in file code.cpp for question https://www.hackerrank.com/challenges/maxsubarray on hackerrank,then you can directly check the result of your code from vim itselt in the following way:

  1. Open code.cpp
  2. Type- :source hrank.vim
  3. Type- :call SetQuesURL('enter_url')

How to give url: Suppose url is https://www.hackerrank.com/challenges/maxsubarray then you need to only enter maxsubarray instead of enter_url in SetQuesURL function

You will get output in vim buffer itself