Submission #7465699
Source Code Expand
#输入一个整数n,如果n能整除3,或者n的数位中有3,则输出“YES”,否则输出“NO”。 n=int(input()) nList=list(n) if 3 in nList or n%3==0: print("Yes") else: print("NO")
Submission Info
Submission Time | |
---|---|
Task | A - 世界のFizzBuzz |
User | Air7367 |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 205 Byte |
Status | RE |
Exec Time | 17 ms |
Memory | 2940 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 0 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | sample_01.txt, sample_02.txt, sample_03.txt, test_1.txt, test_2.txt, test_3.txt, test_4.txt, test_5.txt, test_6.txt, test_7.txt, test_8.txt, test_9.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01.txt | RE | 17 ms | 2940 KB |
sample_02.txt | RE | 17 ms | 2940 KB |
sample_03.txt | RE | 17 ms | 2940 KB |
test_1.txt | RE | 17 ms | 2940 KB |
test_2.txt | RE | 17 ms | 2940 KB |
test_3.txt | RE | 17 ms | 2940 KB |
test_4.txt | RE | 17 ms | 2940 KB |
test_5.txt | RE | 17 ms | 2940 KB |
test_6.txt | RE | 17 ms | 2940 KB |
test_7.txt | RE | 17 ms | 2940 KB |
test_8.txt | RE | 17 ms | 2940 KB |
test_9.txt | RE | 17 ms | 2940 KB |