Submission #11820992


Source Code Expand

Copy
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

luck = False
N = int(read())
while N:
    N, r = divmod(N, 10)
    if r == 7:
        luck = True

print('Yes' if luck else 'No')

Submission Info

Submission Time
Task A - Lucky 7
User maspy
Language Python (3.8.2)
Score 100
Code Size 260 Byte
Status AC
Exec Time 24 ms
Memory 9168 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 11
Set Name Test Cases
Sample sample_01, sample_02, sample_03
All hand_01, hand_02, random_00, random_02, random_03, random_04, random_05, random_06, sample_01, sample_02, sample_03
Case Name Status Exec Time Memory
hand_01 AC 18 ms 8872 KB
hand_02 AC 16 ms 9104 KB
random_00 AC 20 ms 9160 KB
random_02 AC 22 ms 8876 KB
random_03 AC 24 ms 8972 KB
random_04 AC 23 ms 8868 KB
random_05 AC 19 ms 9164 KB
random_06 AC 22 ms 8876 KB
sample_01 AC 21 ms 8976 KB
sample_02 AC 17 ms 9168 KB
sample_03 AC 19 ms 8872 KB