Submission #4041034


Source Code Expand

N = int(input())
A = int(input())
for i in range(0, N, 500):
    flag = 0
for j in range(A):
    i += 1
    if N == i:
        flag = 1
if flag == 1:
    print("Yes")
else:
    print("No")

Submission Info

Submission Time
Task A - Infinite Coins
User ochikei
Language Python (3.4.3)
Score 0
Code Size 199 Byte
Status WA
Exec Time 19 ms
Memory 3316 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
AC × 3
AC × 8
WA × 1
Set Name Test Cases
Sample s1.txt, s2.txt, s3.txt
All in1.txt, in2.txt, in3.txt, in4.txt, in5.txt, in6.txt, s1.txt, s2.txt, s3.txt
Case Name Status Exec Time Memory
in1.txt AC 19 ms 3316 KB
in2.txt WA 17 ms 2940 KB
in3.txt AC 17 ms 2940 KB
in4.txt AC 17 ms 3060 KB
in5.txt AC 17 ms 2940 KB
in6.txt AC 17 ms 2940 KB
s1.txt AC 17 ms 2940 KB
s2.txt AC 17 ms 2940 KB
s3.txt AC 17 ms 2940 KB