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

Автор Bryma, история, 5 лет назад, По-английски

Can someone provide me a link or some type of tutorial how am i supossed to write it ? I tells us that we need to write the answers in : int 64 somefunction(int64 [] K) : but how i can test if it's correct or not ?

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

»
5 лет назад, скрыть # |
 
Проголосовать: нравится +8 Проголосовать: не нравится

Without knowing where you're trying to submit, it's very hard to provide specific advice. But based on my experience submitting in oj.uz, tasks which require you to implement a function should provide a zip file with a tester program written for you.

»
5 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

After downloading the zip file you must add the greader, the "name".cpp and "name".h in your project. Then you write your solution in "name".cpp . Now you can test as it says in the statement

»
5 лет назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

If you want to check if the solution is correct go to this link, there you will find other links to the problem you are looking for.