Submission #6143364
Source Code Expand
import java.io.BufferedInputStream import java.util.StringTokenizer // Generated by 1.1.4 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove this line by using your custom template) fun main(args: Array<String>) { fun StringArray(size: Int, init: (Int) -> String = { "\u0000" }): Array<String> { return Array<String>(size, init) } class Scanner() { private val reader = BufferedInputStream(System.`in`).bufferedReader() private val tokens = StringTokenizer(reader.use { it.readText() }) fun next() = tokens.nextToken() } val sc = Scanner() val H = LongArray(2.toInt()) for (i in 0 until 2.toInt()) { H[i] = sc.next().toLong() } solve(H) } fun solve(H: LongArray){ println(H[0] - H[1]) return }
Submission Info
Submission Time | |
---|---|
Task | A - 積雪深差 |
User | kitagawa1992 |
Language | Kotlin (1.0.0) |
Score | 100 |
Code Size | 864 Byte |
Status | AC |
Exec Time | 191 ms |
Memory | 31644 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 | 191 ms | 27688 KB |
00_sample_02.txt | AC | 185 ms | 29472 KB |
00_sample_03.txt | AC | 184 ms | 29472 KB |
test_01.txt | AC | 184 ms | 29472 KB |
test_02.txt | AC | 185 ms | 27804 KB |
test_03.txt | AC | 184 ms | 29472 KB |
test_04.txt | AC | 185 ms | 31136 KB |
test_05.txt | AC | 185 ms | 27548 KB |
test_06.txt | AC | 184 ms | 29592 KB |
test_07.txt | AC | 186 ms | 25764 KB |
test_08.txt | AC | 185 ms | 29460 KB |
test_09.txt | AC | 186 ms | 31644 KB |
test_10.txt | AC | 184 ms | 29468 KB |
test_11.txt | AC | 184 ms | 29480 KB |
test_12.txt | AC | 184 ms | 29468 KB |
test_13.txt | AC | 185 ms | 29472 KB |
test_14.txt | AC | 184 ms | 29592 KB |
test_15.txt | AC | 185 ms | 27684 KB |
test_16.txt | AC | 184 ms | 27544 KB |
test_17.txt | AC | 184 ms | 27560 KB |