Submission #3451638
Source Code Expand
const fs = require('fs') function main(input) { const [src, target] = input.split('\n') const result = String(src).split('').reverse().join('') === String(target) ? 'YES' : 'NO'; console.log(result) } if (process.env.DEBUG && process.argv.length > 1) { main(fs.readFileSync(process.argv[2], 'utf8')) } else { main(fs.readFileSync('/dev/stdin', 'utf8')) }
Submission Info
Submission Time | |
---|---|
Task | A - Rotation |
User | sskyu |
Language | JavaScript (node.js v5.12) |
Score | 0 |
Code Size | 382 Byte |
Status | RE |
Exec Time | 207 ms |
Memory | 20936 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | s1.txt, s2.txt, s3.txt |
All | 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, 09.txt, 10.txt, s1.txt, s2.txt, s3.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
01.txt | RE | 207 ms | 20936 KB |
02.txt | RE | 49 ms | 7244 KB |
03.txt | RE | 49 ms | 7244 KB |
04.txt | RE | 49 ms | 7244 KB |
05.txt | RE | 49 ms | 7244 KB |
06.txt | RE | 49 ms | 7244 KB |
07.txt | RE | 49 ms | 7244 KB |
08.txt | RE | 49 ms | 7244 KB |
09.txt | RE | 49 ms | 7244 KB |
10.txt | RE | 49 ms | 7244 KB |
s1.txt | RE | 49 ms | 7244 KB |
s2.txt | RE | 51 ms | 7244 KB |
s3.txt | RE | 50 ms | 7244 KB |