topcoder-greed icon indicating copy to clipboard operation
topcoder-greed copied to clipboard

Code generation fails on SRM 627 Div 2 500 point problem

Open y4n9squared opened this issue 10 years ago • 3 comments

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

y4n9squared avatar Jul 10 '14 18:07 y4n9squared

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.

vexorian avatar Jul 10 '14 18:07 vexorian

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 ?

ashashwat avatar Jul 10 '14 19:07 ashashwat

Seems interesting... We need to

  • handle the new types (Char) properly
  • avoid NPE with much verbose diagnostics when similar situations arise

wookayin avatar Jul 13 '14 04:07 wookayin