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

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

I have been getting messages when submitting usaco problems that the file was not found. Are you guys working on something? Does anyone know what is happening? I even submitted their given code in tutorials just to check and it still returned the same output.

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

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

To make this more easy for others to help you, it'd be nice if you could include a link to the problem you're experiencing this on, and what code you were submitting (assuming the USACO contest is over). Is this a codeforces problem or a https://usaco.org/ issue?

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

    It’s happening to all of the usaco problems, maybe older ones.

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

      Can you link to a problem it's happening on, and what code you're submitting please? Otherwise if someone from USACO sees this, it's hard for them to debug it.

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

        https://usaco.org/index.php?page=viewproblem2&cpid=1085

        on a side note, man I miss your YouTube tutorials please start uploading on youtube you were such an inspiration back then.

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

        https://usaco.org/index.php?page=viewproblem2&cpid=737

        I used USACO official solution and mine as well but the output was the same.

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

          In older USACO problems you need to read the input from a file and output your solution to another file.

          In the problem you linked the file is: art.in

          and you should output the answer to: art.out

          try this:

          ifstream fin("art.in");
          ofstream fout("art.out");
          

          instead of using "cin" and "cout" use "fin" and "fout" respectively.

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

            Unfortunately that is not the problem I am facing right now.