complete 24262 & setting zeta_kotlin with kotlin

This commit is contained in:
2024-04-04 22:46:19 +09:00
parent aa4191df89
commit c3f39b8093
4 changed files with 18 additions and 1 deletions

5
.gitignore vendored
View File

@@ -15,3 +15,8 @@ __init__.py
cmake-build-debug
*.exe
a.out
META-INF
*.class
a.jar

View File

@@ -0,0 +1,7 @@
package completed
fun main() {
val n: Int = readLine()!!.toInt()
println("1")
println("0")
}

4
zeta_kotlin/run.sh Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
if [ -z "$*" ]; then echo "No args"; exit 0; fi
kotlinc-jvm $1 -include-runtime a.jar
java -jar a.jar -Dfile.encoding=UTF-8 < stdin.txt

View File

@@ -0,0 +1 @@
3