Submission #3451659


Source Code Expand

 function main(input) {
  const [src, target] = input.split('\n')  
  const result = String(src).split('').reverse().join('') === String(target) ? 'YES' : 'NO';
 
  console.log(result)
}
 
main(require('fs').readFileSync('/dev/stdin', 'utf8'))

Submission Info

Submission Time
Task A - Rotation
User sskyu
Language JavaScript (node.js v5.12)
Score 0
Code Size 250 Byte
Status RE
Exec Time 228 ms
Memory 21956 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
RE × 3
RE × 13
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 228 ms 21956 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 50 ms 9292 KB
s3.txt RE 49 ms 7244 KB