Open ghamerly opened 5 years ago
I tried to spend more time thinking about the ministryofmagic sample, and I don't understand it. Probably that's because I'm a weaker contestant. But here's my thinking (and likely what someone else might do); what's wrong with it?
1 is lower than 4, so 1 is the lowest-numbered least-popular candidate
Updated some of the statement fixes. I don't agree re lexicographically smallest vs earliest: lexicographically smallest is by far more commonly used in statements.
Re my WA solutions: is this tested locally or on Kattis? WA vs RTE is notoriously difficult to determine between environments: on my computer they still get WA rather than RTEs. If you tell me what they get on the Kattis slave you install on I will move them to the correct places.
Added image sources too
1 is lower than 4, so 1 is the lowest-numbered least-popular candidate
Okay. Then my confusion was in being tired, but also because voting preferences indicate that the earliest (lowest) number is preferred (as in being the first in the permutation ranking 3, 1, 2, 4 indicates 1 is preferred), the rule for breaking ties is that being larger (higher numbered) is preferred. So that might be worth mentioning.
Updated some of the statement fixes. I don't agree re lexicographically smallest vs earliest: lexicographically smallest is by far more commonly used in statements.
Both are okay; I point it out because Google prefers "earliest" (on the web in general).
Re my WA solutions: is this tested locally or on Kattis? WA vs RTE is notoriously difficult to determine between environments: on my computer they still get WA rather than RTEs. If you tell me what they get on the Kattis slave you install on I will move them to the correct places.
The original was on my laptop; I just ran it on a kitten and got this:
Loading problem halloweenloot
Checking config
Checking statement
/home/hamerly/problem_installation/hiq-challenge-2018/problemset.cls exists, will not copy it -- in case of weirdness this is likely culprit
/home/hamerly/problem_installation/hiq-challenge-2018/problemset.cls exists, will not copy it -- in case of weirdness this is likely culprit
Checking validators
Checking graders
Checking data
Checking submissions
AC submission halloweenloot_js.cpp (C++) OK: AC [CPU: 0.00s @ test case secret/10-rnd-knapsack-zeros]
AC submission halloweenloot_mw.cpp (C++) OK: AC [CPU: 0.13s @ test case secret/11-allzeroa]
AC submission sl.cpp (C++) OK: AC [CPU: 0.10s @ test case secret/07-rnd-knapsack-zeros]
Slowest AC runtime: 0.126, setting timelim to 1 secs, safety margin to 2 secs
ERROR in submissions: WA submission halloweenloot2_js.cpp (C++) got RTE [test case: test case secret/01-rnd-knapsack, CPU: 0.00s @ test case secret/01-rnd-knapsack]
ERROR in submissions: WA submission halloweenloot3_js.cpp (C++) got RTE [test case: test case secret/03-rnd-knapsack, CPU: 0.00s @ test case secret/02-rnd-knapsack]
WA submission halloweenloot4_js.cpp (C++) OK: WA [test case: test case sample/2, CPU: 0.00s @ test case sample/1]
ERROR in submissions: WA submission halloweenloot5_js.cpp (C++) got RTE [test case: test case sample/1, CPU: 0.00s @ test case sample/1]
WA submission halloweenloot_js.cpp (C++) OK: WA [test case: test case secret/18-twostartingpoints, CPU: 0.00s @ test case secret/10-rnd-knapsack-zeros]
RTE submission halloweenloot7_js.cpp (C++) OK: RTE [test case: test case secret/98-maxdiff2, CPU: 0.00s @ test case secret/10-rnd-knapsack-zeros]
RTE submission halloweenloot8_js.cpp (C++) OK: RTE [test case: test case secret/98-maxdiff2, CPU: 0.00s @ test case secret/12-allzerob]
halloweenloot tested: 3 errors, 0 warnings
Thanks, will update!
Could you share TLs for the problems as run on the kitten so we can review them?
On Thu, Nov 1, 2018, 12:27 Greg Hamerly <notifications@github.com wrote:
Re my WA solutions: is this tested locally or on Kattis? WA vs RTE is notoriously difficult to determine between environments: on my computer they still get WA rather than RTEs. If you tell me what they get on the Kattis slave you install on I will move them to the correct places.
The original was on my laptop; I just ran it on a kitten and got this:
Loading problem halloweenloot Checking config Checking statement /home/hamerly/problem_installation/hiq-challenge-2018/problemset.cls exists, will not copy it -- in case of weirdness this is likely culprit /home/hamerly/problem_installation/hiq-challenge-2018/problemset.cls exists, will not copy it -- in case of weirdness this is likely culprit Checking validators Checking graders Checking data Checking submissions AC submission halloweenloot_js.cpp (C++) OK: AC [CPU: 0.00s @ test case secret/10-rnd-knapsack-zeros] AC submission halloweenloot_mw.cpp (C++) OK: AC [CPU: 0.13s @ test case secret/11-allzeroa] AC submission sl.cpp (C++) OK: AC [CPU: 0.10s @ test case secret/07-rnd-knapsack-zeros] Slowest AC runtime: 0.126, setting timelim to 1 secs, safety margin to 2 secs ERROR in submissions: WA submission halloweenloot2_js.cpp (C++) got RTE [test case: test case secret/01-rnd-knapsack, CPU: 0.00s @ test case secret/01-rnd-knapsack] ERROR in submissions: WA submission halloweenloot3_js.cpp (C++) got RTE [test case: test case secret/03-rnd-knapsack, CPU: 0.00s @ test case secret/02-rnd-knapsack] WA submission halloweenloot4_js.cpp (C++) OK: WA [test case: test case sample/2, CPU: 0.00s @ test case sample/1] ERROR in submissions: WA submission halloweenloot5_js.cpp (C++) got RTE [test case: test case sample/1, CPU: 0.00s @ test case sample/1] WA submission halloweenloot_js.cpp (C++) OK: WA [test case: test case secret/18-twostartingpoints, CPU: 0.00s @ test case secret/10-rnd-knapsack-zeros] RTE submission halloweenloot7_js.cpp (C++) OK: RTE [test case: test case secret/98-maxdiff2, CPU: 0.00s @ test case secret/10-rnd-knapsack-zeros] RTE submission halloweenloot8_js.cpp (C++) OK: RTE [test case: test case secret/98-maxdiff2, CPU: 0.00s @ test case secret/12-allzerob] halloweenloot tested: 3 errors, 0 warnings
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jsannemo/hiq-challenge-2018/issues/1#issuecomment-435012200, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6GXbzuFO97yXmFbwl8Ihnva4rnBywiks5uqtqMgaJpZM4YFYRS .
As run on a kitten:
Loading problem costumecontest
Slowest AC runtime: 0.025, setting timelim to 1 secs, safety margin to 2 secs
Loading problem halloweenloot
Slowest AC runtime: 0.127, setting timelim to 1 secs, safety margin to 2 secs
Loading problem isithalloween
Slowest AC runtime: 0.024, setting timelim to 1 secs, safety margin to 2 secs
Loading problem ministryofmagic
Slowest AC runtime: 0.436, setting timelim to 2 secs, safety margin to 4 secs
Loading problem witchdance
Slowest AC runtime: -1.000, setting timelim to 1 secs, safety margin to 2 secs
Loading problem wizarddance
Slowest AC runtime: 0.314, setting timelim to 2 secs, safety margin to 3 secs
LGTM. Uploaded moved solutions
@jsannemo are you ready for me to install the problems?
Yes! We skip the last one.
On Thu, Nov 1, 2018, 18:47 Greg Hamerly <notifications@github.com wrote:
@jsannemo https://github.com/jsannemo are you ready for me to install the problems?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jsannemo/hiq-challenge-2018/issues/1#issuecomment-435121989, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6GXbMbGLAzuf6Zc_oBdpvAtzs1yOmkks5uqzPLgaJpZM4YFYRS .
-- /Johan
Okay, the problems are installed. I installed the versions on the branch corresponding to this PR: #2 (because the first one I installed was sometimes giving 404s on the image due to its size).
@jsannemo
Some things to fix before HiQ... ~I will add to these as I have time to do so and add a note when I'm done.~ I'm done.
s/halloween/Halloween/g
\url
should have a leadinghttps://
s/lexicographically smallest/lexicographically earliest/
\dots
s/embarrasment/embarrassment/
s/dancy/dance/
\dots
s/wizards should/wizard should/
she
sounds off here.