Submission #1339935


Source Code Expand

object MainKt {
  @JvmStatic fun main(args:Array<String>) {
    val N=readLine()!!.toInt()
    val a=(1..N).map{ readLine()!!.toInt()}
    println(a.max()!!-a.min()!!)
  }

}

Submission Info

Submission Time
Task B - Traveling AtCoDeer Problem
User je6bmq
Language Kotlin (1.0.0)
Score 0
Code Size 183 Byte
Status RE
Exec Time 208 ms
Memory 33688 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 200
Status
RE × 2
AC × 1
RE × 5
Set Name Test Cases
Sample s1.txt, s2.txt
All in1.txt, in2.txt, in3.txt, in4.txt, s1.txt, s2.txt
Case Name Status Exec Time Memory
in1.txt AC 208 ms 31848 KB
in2.txt RE 201 ms 30064 KB
in3.txt RE 201 ms 31684 KB
in4.txt RE 201 ms 31776 KB
s1.txt RE 206 ms 33688 KB
s2.txt RE 201 ms 30064 KB