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

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

I am having a contest in 2 days and I didnt realize there would be 1 problem in the IOI format.

I only have experience with solving problems through stdin and stdout, but I dont know how to solve IOI problems or test my code with the given materials in the .zip files. I have tried looking for tutorials but nothing really came up.

Can someone please provide any useful resources and tutorials for me to cram up before tomorrow? Really appreciate your help

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

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

nice handle bro

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

it is lqdoj cup

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

There are some OI style tasks in oj.uz to practice. Check out the later years of IOI or APIO for examples.

I don't know how to $$$\tt{properly}$$$ run grader.cpp and the task.cpp file, usually I just change the #include "task.h" to #include "task.cpp" in the grader file and run the grader file. This works well enough for me.

In case of having even more files to submit (two-step communicative for example), you can #include all the related files in the grader.cpp

  • »
    »
    3 часа назад, # ^ |
      Проголосовать: нравится +3 Проголосовать: не нравится

    When submitting, just submit the task.cpp file.

    Also, if the task is in OI format then subtasks will probably exist on that task too. Depending on the grader, you might need to if-else each subtask to get many subtasks with different partial solns, or you might be able to just submit for each subtask separately if they use max for each subtask scoring.

  • »
    »
    3 часа назад, # ^ |
      Проголосовать: нравится +1 Проголосовать: не нравится

    in the zip file i can find 4 files: grader.cpp, task.cpp, task.h and compile_cpp.sh

    i tried including the cpp and run the grader.cpp but it just gave a blank terminal. Also, where does the grader get the tests, and are they included int the materials?