Submission #66928306


Source Code Expand

function main(stdin) {
  const lines = stdin.trim().split('\n')
  const p = lines[0]
  const l = Number(lines[1])
  if (p.length >= l) {
    return 'Yes'
  }
  return 'No'
}

if (require.main === module) {
  const fs = require('node:fs')
  const input = fs.readFileSync('/dev/stdin', 'utf8')
  console.log(main(input))
}

module.exports = { main }

Submission Info

Submission Time
Task A - Required Length
User xhksun
Language JavaScript (Node.js 18.16.1)
Score 100
Code Size 365 Byte
Status AC
Exec Time 41 ms
Memory 42752 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 20
Set Name Test Cases
Sample example_00.txt, example_01.txt, example_02.txt
All example_00.txt, example_01.txt, example_02.txt, hand_00.txt, hand_01.txt, hand_02.txt, hand_03.txt, hand_04.txt, hand_05.txt, hand_06.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt
Case Name Status Exec Time Memory
example_00.txt AC 40 ms 42660 KiB
example_01.txt AC 40 ms 42664 KiB
example_02.txt AC 41 ms 42548 KiB
hand_00.txt AC 41 ms 42684 KiB
hand_01.txt AC 41 ms 42752 KiB
hand_02.txt AC 41 ms 42752 KiB
hand_03.txt AC 41 ms 42684 KiB
hand_04.txt AC 41 ms 42728 KiB
hand_05.txt AC 41 ms 42680 KiB
hand_06.txt AC 41 ms 42496 KiB
random_00.txt AC 41 ms 42608 KiB
random_01.txt AC 41 ms 42704 KiB
random_02.txt AC 40 ms 42752 KiB
random_03.txt AC 41 ms 42708 KiB
random_04.txt AC 41 ms 42660 KiB
random_05.txt AC 41 ms 42684 KiB
random_06.txt AC 41 ms 42664 KiB
random_07.txt AC 41 ms 42752 KiB
random_08.txt AC 41 ms 42676 KiB
random_09.txt AC 41 ms 42680 KiB