Submission #891778


Source Code Expand

fun main(args:Array<String>) {
    var input = readLine()
    println("${input!!.subSequence(0,4)} ${input!!.subSequence(4, 12)}")
}

Submission Info

Submission Time
Task A - CODEFESTIVAL 2016
User sako0384
Language Kotlin (1.0.0)
Score 100
Code Size 135 Byte
Status AC
Exec Time 255 ms
Memory 18264 KB

Compile Error

Main.kt:3:49: warning: unnecessary non-null assertion (!!) on a non-null receiver of type kotlin.String
    println("${input!!.subSequence(0,4)} ${input!!.subSequence(4, 12)}")
                                                ^

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 6
Set Name Test Cases
Sample 0_00.txt, 0_01.txt, 0_02.txt
All 0_00.txt, 0_01.txt, 0_02.txt, 1_00.txt, 1_01.txt, 1_02.txt
Case Name Status Exec Time Memory
0_00.txt AC 255 ms 18128 KB
0_01.txt AC 251 ms 18260 KB
0_02.txt AC 249 ms 18136 KB
1_00.txt AC 249 ms 18264 KB
1_01.txt AC 250 ms 18128 KB
1_02.txt AC 250 ms 18224 KB