Submission #11205953
Source Code Expand
fun main(args: Array<String>) { val (h, w) = readLine()!!.split(' ').map { it.toInt() } repeat(h) {i-> val idx = readLine()!!.split(' ').indexOf("snuke") if (idx != -1) { println("${'A' + idx}${i + 1}") return } } }
Submission Info
Submission Time | |
---|---|
Task | A - Where's Snuke? |
User | RespectKotlin |
Language | Kotlin (1.0.0) |
Score | 100 |
Code Size | 284 Byte |
Status | AC |
Exec Time | 237 ms |
Memory | 37796 KB |
Compile Error
Main.kt:2:13: warning: variable 'w' is never used val (h, w) = readLine()!!.split(' ').map { it.toInt() } ^
Judge Result
Set Name | sample | all | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
sample | sample-01.txt, sample-02.txt |
all | sample-01.txt, sample-02.txt, 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, sample-01.txt, sample-02.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
01-01.txt | AC | 235 ms | 34160 KB |
01-02.txt | AC | 237 ms | 36320 KB |
01-03.txt | AC | 234 ms | 34244 KB |
01-04.txt | AC | 236 ms | 36240 KB |
01-05.txt | AC | 237 ms | 36220 KB |
01-06.txt | AC | 236 ms | 32552 KB |
01-07.txt | AC | 235 ms | 37796 KB |
sample-01.txt | AC | 237 ms | 36208 KB |
sample-02.txt | AC | 233 ms | 36336 KB |