Submission #4402231
Source Code Expand
fun main(args: Array<String>) { val h1: Int = readLine()?.toInt() ?: throw Exception() val h2: Int = readLine()?.toInt() ?: throw Exception() println(AtCoderBeginnerContest001A.calc(h1, h2)) } object AtCoderBeginnerContest001A { fun calc(h1: Int, h2: Int): Int = h1 - h2 }
Submission Info
Submission Time | |
---|---|
Task | A - 積雪深差 |
User | maburoe |
Language | Kotlin (1.0.0) |
Score | 100 |
Code Size | 301 Byte |
Status | AC |
Exec Time | 208 ms |
Memory | 31868 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 | 208 ms | 29852 KB |
00_sample_02.txt | AC | 198 ms | 27732 KB |
00_sample_03.txt | AC | 200 ms | 29784 KB |
test_01.txt | AC | 198 ms | 31484 KB |
test_02.txt | AC | 201 ms | 31732 KB |
test_03.txt | AC | 201 ms | 31560 KB |
test_04.txt | AC | 200 ms | 27872 KB |
test_05.txt | AC | 198 ms | 29756 KB |
test_06.txt | AC | 198 ms | 29660 KB |
test_07.txt | AC | 199 ms | 29816 KB |
test_08.txt | AC | 200 ms | 31868 KB |
test_09.txt | AC | 198 ms | 29688 KB |
test_10.txt | AC | 199 ms | 29692 KB |
test_11.txt | AC | 198 ms | 27744 KB |
test_12.txt | AC | 199 ms | 30128 KB |
test_13.txt | AC | 198 ms | 29724 KB |
test_14.txt | AC | 198 ms | 29700 KB |
test_15.txt | AC | 198 ms | 29696 KB |
test_16.txt | AC | 199 ms | 28080 KB |
test_17.txt | AC | 199 ms | 31620 KB |