CT326

Koda's Whispering Ledger

EasyL2 · Byte BanditAcceptance: 0.0%XP: 10

Before the gates of the lantern reef of Glowtide close for winter, Koda must finish the seals ledger - one figure at a time. Task: Print YES if n is prime, otherwise NO. Input format: One line with a single integer n. Output format: Print YES or NO. Constraints: 0 <= n <= 1000000.

Example 1:

Input: 797761
Output: NO

Example 2:

Input: 801447
Output: NO

Example 3:

Input: 255192
Output: NO

Constraints:

0 <= n <= 1000000.

Loading...
Test Cases:No test cases
No test cases available.
Koda's Whispering Ledger - EASY Coding Problem | CodeTikki