Hi, tried to use Kotlin to solve problems. But faced with several problems.
- There is no any info what compiler is used and what is a sample program (tried to do it like Java and got RE, the correct sample is
fun main(args: Array<String>) { println("Hello world!") }
):
- https://www.codechef.com/wiki/list-compilers
- https://discuss.codechef.com/questions/3480/what-are-the-compiler-options-that-the-judge-uses
- https://www.codechef.com/wiki/sample-solutions
- Looks like kotlin programs do not have proper -Xss setting, hence programs in kotlin can fail with StackOverflowException, where the similar Java program will pass. Wasted yesterday half an hour and 5 attempts to figure out that:
Kotlin RE https://www.codechef.com/viewsolution/21129127
Java AC https://www.codechef.com/viewsolution/21133182
@admin can you fix mentioned issues, so it will be possible to use kotlin for all problems (and easier to start using it)?