Submission #6147488
Source Code Expand
"use strict"; const main = arg => { arg = arg.trim().split("\n"); const H = parseInt(arg[0].split(" ")[0]); const W = parseInt(arg[0].split(" ")[1]); const words = arg.slice(1, H + 1).map(s=>s.split(" ")); const alpha = "ABCDEFGHIJ".split(""); for(let i=0; i<H; i++) { for(let j=0; j<W; j++) { if(words[i][j] === "snuke") { console.log(alpha[j] + (i + 1)); } } } } main(require('fs').readFileSync('/dev/stdin', 'utf8'));
Submission Info
Submission Time | |
---|---|
Task | A - Where's Snuke? |
User | oimo23 |
Language | JavaScript (node.js v5.12) |
Score | 0 |
Code Size | 537 Byte |
Status | WA |
Exec Time | 53 ms |
Memory | 7372 KB |
Judge Result
Set Name | sample | all | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 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 | 51 ms | 7372 KB |
01-02.txt | AC | 51 ms | 7372 KB |
01-03.txt | WA | 53 ms | 7372 KB |
01-04.txt | AC | 52 ms | 7372 KB |
01-05.txt | AC | 51 ms | 7372 KB |
01-06.txt | WA | 52 ms | 7372 KB |
01-07.txt | WA | 52 ms | 7372 KB |
sample-01.txt | AC | 51 ms | 7372 KB |
sample-02.txt | AC | 51 ms | 7372 KB |