Submission #3271155
Source Code Expand
a, b = map(int, input().split()) n_satisfied = 0 for i in range(a, b + 1): i_str = str(i) if i_str[0] == i_str[4] and i_str[1] == i_str[3]: n_satisfied += 1 print(n_satisfied)
Submission Info
Submission Time | |
---|---|
Task | B - Palindromic Numbers |
User | ohoho831 |
Language | Python (3.4.3) |
Score | 200 |
Code Size | 201 Byte |
Status | AC |
Exec Time | 50 ms |
Memory | 2940 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 | 50 ms | 2940 KB |
02.txt | AC | 44 ms | 2940 KB |
03.txt | AC | 43 ms | 2940 KB |
04.txt | AC | 31 ms | 2940 KB |
05.txt | AC | 30 ms | 2940 KB |
06.txt | AC | 25 ms | 2940 KB |
07.txt | AC | 44 ms | 2940 KB |
08.txt | AC | 17 ms | 2940 KB |
s1.txt | AC | 17 ms | 2940 KB |
s2.txt | AC | 36 ms | 2940 KB |