function processData(input) { //Enter your code here input = input.split('\n') var V = input[0] var n = input[1] var ar = input[2].split(' ') console.log(ar.indexOf(V)) } process.stdin.resume(); process.stdin.setEncoding("ascii"); _input = ""; process.stdin.on("data", function (input) { _input += input; }); process.stdin.on("end", function () { processData(_input); });
댓글 없음:
댓글 쓰기