cpinitiative / usaco-guide

A free collection of curated, high-quality resources to take you from Bronze to Platinum and beyond.
https://usaco.guide
Other
1.62k stars 495 forks source link

Inconsistent Testing Script in Basic Debugging Java #3179

Open bqi343 opened 2 years ago

bqi343 commented 2 years ago

(Link should work once #3172 is merged)

https://usaco.guide/general/basic-debugging?lang=java

I'm not sure why we have a testing script specific to Java. For this section, the content should be the same across all three languages.

SansPapyrus683 commented 10 months ago

don't really see why a java-specific debugging script is bad here

bqi343 commented 10 months ago
  1. It's not an example of stress-testing multiple solutions against each other, which is what this section is about.
  2. It should be language-agnostic in the sense that if you want to test a C++ solution instead, you should only need to change a single line.
  3. It should be concise enough so that it's easy to type from scratch.
IDON-TEXIST commented 9 months ago

It's impossible for the scripts to be the same because there's no easy way to compile a java script to something executable. But this should be doable otherwise.

SansPapyrus683 commented 9 months ago

javac is a thing lol you do have to run it w/ java but yeah

IDON-TEXIST commented 9 months ago

Won't have time to do this for a bit, actually.

SansPapyrus683 commented 9 months ago

oh sure, work on it whenever you want