Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Left as an exercise to the reader

Name: Anonymous 2016-09-02 11:17

Write code that determines which programming language this is.

Name: Anonymous 2016-09-05 9:42

>>7
quadratic time solution is the correct one, with a slight modification: output each language wich compiles with no errors. this will detect polyglot programs and intentionally obfuscated (or VALID PERL) code that doesn't look like the language it's written in. it will also not be fooled by nonsense which uses tokens from a language but isn't valid code.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List