Submission #3805014
Source Code Expand
a, b = map(int, input().split()) ans = 0 for i in range(a, b+1): s = str(i) if s == s[::-1]: ans +=1 print(ans)
Submission Info
Submission Time | |
---|---|
Task | B - Palindromic Numbers |
User | brthyyjp |
Language | Python (3.4.3) |
Score | 200 |
Code Size | 133 Byte |
Status | AC |
Exec Time | 54 ms |
Memory | 3060 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 200 / 200 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | s1.txt, s2.txt |
All | 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, s1.txt, s2.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
01.txt | AC | 49 ms | 2940 KB |
02.txt | AC | 54 ms | 2940 KB |
03.txt | AC | 53 ms | 2940 KB |
04.txt | AC | 34 ms | 3060 KB |
05.txt | AC | 30 ms | 2940 KB |
06.txt | AC | 27 ms | 2940 KB |
07.txt | AC | 48 ms | 2940 KB |
08.txt | AC | 19 ms | 2940 KB |
s1.txt | AC | 18 ms | 2940 KB |
s2.txt | AC | 40 ms | 2940 KB |