littlesquare101's blog

By littlesquare101, history, 5 weeks ago, In English

I wanted to practice some old USACO problems from around 2017, but all of them require file input/output which is outdated and annoying. Is there a codeforces archive that contains old USACO problems but with standard input/output?

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

»
5 weeks ago, # |
  Vote: I like it +8 Vote: I do not like it

Just solve them ignoring the file I/O and then add the two lines, it's not a big deal.

I think the USACO folks explicitly ask for the problems not to be made available anywhere else, so I don't think you'll find them.

  • »
    »
    5 weeks ago, # ^ |
      Vote: I like it -6 Vote: I do not like it

    but I think its annoying to have to copy the sample to another file

    • »
      »
      »
      5 weeks ago, # ^ |
        Vote: I like it +8 Vote: I do not like it

      solve the problem exactly the same as cf but just uncomment

      ifstream cin("filename.in");
      ofstream cout("filename.out");
      

      every time you submit

  • »
    »
    5 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    someone got to have made it, right?

»
5 weeks ago, # |
  Vote: I like it +2 Vote: I do not like it