Submission #45490740
Source Code Expand
Copy
N = int(input())A = int(input())if N % 500 <= A:print("Yes")else:print("No")
N = int(input()) A = int(input()) if N % 500 <= A: print("Yes") else: print("No")
Submission Info
Submission Time | |
---|---|
Task | A - Infinite Coins |
User | KoyanagiHitoshi |
Language | Python (CPython 3.11.4) |
Score | 100 |
Code Size | 90 Byte |
Status | AC |
Exec Time | 11 ms |
Memory | 8576 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
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 | 10 ms | 8512 KB |
in2.txt | AC | 10 ms | 8500 KB |
in3.txt | AC | 10 ms | 8420 KB |
in4.txt | AC | 11 ms | 8576 KB |
in5.txt | AC | 10 ms | 8544 KB |
in6.txt | AC | 10 ms | 8532 KB |
s1.txt | AC | 10 ms | 8412 KB |
s2.txt | AC | 10 ms | 8500 KB |
s3.txt | AC | 10 ms | 8512 KB |