luka25's blog

By luka25, history, 9 years ago, In English

I've come across to weird thing, the problem itself is easy but I don't understand how to read input.I know only solving codeforces like problems so could anybody explain how to do it?

https://paradox.kattis.com/problems/paradoxpath

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

»
9 years ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

You should send only the implementation of that function. Good luck!

»
9 years ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

What you submit should look something like:

int FindPath(const int nStartX, const int nStartY, const int nTargetX const int nTargetY, const unsigned char* pMap, const int nMapWidth, const int nMapHeight, int* pOutBuffer, const int nOutBufferSize){
    //Do some calculations
    return ans;
}