Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code generation fails on SRM 627 Div 2 500 point problem #157

Open
y4n9squared opened this issue Jul 10, 2014 · 3 comments
Open

Code generation fails on SRM 627 Div 2 500 point problem #157

y4n9squared opened this issue Jul 10, 2014 · 3 comments

Comments

@y4n9squared
Copy link

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
@vexorian
Copy link
Collaborator

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.

@ashashwat
Copy link

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 ?

@wookayin
Copy link
Collaborator

Seems interesting... We need to

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants