topcoder-greed
topcoder-greed copied to clipboard
Code generation fails on SRM 627 Div 2 500 point problem
Output from applet:
Hello again :>
Problem : HappyLetterDiv2
Score : 500
Generating code...
Generating template [problem-desc-theme-dark]
Generating template [problem-desc-theme-blue]
Generating template [problem-desc-styles]
Generating template [problem-desc-theme-light]
Generating template [problem-desc-theme-darkgray]
Generating template [problem-desc]
Error: null
This is because that problem introduces a Char type.
Why are they adding a char type? No idea, but it has breaking any non-trivial plugin and also even the normal arena if you use python.
I just tried this in practice room and had to manually write everything. Totally disappointed with random decisions of TopCoder (or is it topcoder now), at least they should have tested the problem in various languages if they plan to experiment. Or was it even tested in the first place or testers write everything in standard editor ?
Seems interesting... We need to
- handle the new types (Char) properly
- avoid NPE with much verbose diagnostics when similar situations arise