Submission #6197029
Source Code Expand
object Main { val sc = new java.util.Scanner(System.in) def readString(): String = sc.next() def readStrings(n: Int): Array[String] = Array.fill(n){ sc.next() } def readInt(): Int = sc.nextInt() def readInts(n : Int): Array[Int] = Array.fill(n){ sc.nextInt() } def readLong(): Long = sc.nextLong() def readLongs(n: Int): Array[Long] = Array.fill(n){ sc.nextLong() } def readLineStrings(): Array[String] = sc.nextLine().split(' ') def readLineInts(): Array[Int] = readLineStrings().map(_.toInt) def readLineLongs(): Array[Long] = readLineStrings().map(_.toLong) def main(args: Array[String]): Unit = { val h1 = readInt() val h2 = readInt() println(h1 - h2) } }
Submission Info
Submission Time | |
---|---|
Task | A - 積雪深差 |
User | h4afs |
Language | Scala (2.11.7) |
Score | 100 |
Code Size | 715 Byte |
Status | AC |
Exec Time | 340 ms |
Memory | 27460 KB |
Judge Result
Set Name | all | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
all | 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt, test_07.txt, test_08.txt, test_09.txt, test_10.txt, test_11.txt, test_12.txt, test_13.txt, test_14.txt, test_15.txt, test_16.txt, test_17.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_sample_01.txt | AC | 331 ms | 25380 KB |
00_sample_02.txt | AC | 330 ms | 25380 KB |
00_sample_03.txt | AC | 333 ms | 25536 KB |
test_01.txt | AC | 340 ms | 25416 KB |
test_02.txt | AC | 330 ms | 25372 KB |
test_03.txt | AC | 330 ms | 25400 KB |
test_04.txt | AC | 334 ms | 25412 KB |
test_05.txt | AC | 329 ms | 25260 KB |
test_06.txt | AC | 333 ms | 25408 KB |
test_07.txt | AC | 330 ms | 25396 KB |
test_08.txt | AC | 332 ms | 25412 KB |
test_09.txt | AC | 332 ms | 25412 KB |
test_10.txt | AC | 332 ms | 25284 KB |
test_11.txt | AC | 332 ms | 25520 KB |
test_12.txt | AC | 334 ms | 25012 KB |
test_13.txt | AC | 331 ms | 25376 KB |
test_14.txt | AC | 332 ms | 25540 KB |
test_15.txt | AC | 333 ms | 27460 KB |
test_16.txt | AC | 335 ms | 27192 KB |
test_17.txt | AC | 335 ms | 25408 KB |