Submission #75409825


Source Code Expand

X = int(input())
for i in range(1, 7):
    for j in range(1, 7):
        for k in range(1, 7):
            if i + j + k == X:
                print("Yes")
                exit()
print("No")

Submission Info

Submission Time
Task A - Dice
User msd7
Language Python (PyPy 3.11-v7.3.20)
Score 100
Code Size 198 Byte
Status AC
Exec Time 48 ms
Memory 79644 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 10
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
random_01.txt AC 48 ms 79644 KiB
random_02.txt AC 48 ms 79248 KiB
random_03.txt AC 48 ms 79240 KiB
random_04.txt AC 47 ms 79212 KiB
random_05.txt AC 48 ms 79120 KiB
random_06.txt AC 47 ms 79436 KiB
random_07.txt AC 47 ms 79436 KiB
random_08.txt AC 47 ms 79644 KiB
sample_01.txt AC 47 ms 79596 KiB
sample_02.txt AC 46 ms 79304 KiB