Submission #3787054
Source Code Expand
A,B=map(int,input().strip().split(" ")) count=0 for i in range(0,B-A): C=A+i l=[int(x) for x in list(str(C))] if(l[0]==l[4] and l[1]==l[3]): count+=1 print(count)
Submission Info
Submission Time | |
---|---|
Task | B - Palindromic Numbers |
User | pari437 |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 195 Byte |
Status | WA |
Exec Time | 196 ms |
Memory | 3060 KB |
Judge Result
Set Name | Sample | All | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 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 | WA | 196 ms | 2940 KB |
02.txt | WA | 195 ms | 3060 KB |
03.txt | AC | 184 ms | 3060 KB |
04.txt | AC | 103 ms | 2940 KB |
05.txt | AC | 86 ms | 2940 KB |
06.txt | AC | 70 ms | 2940 KB |
07.txt | WA | 190 ms | 2940 KB |
08.txt | AC | 18 ms | 2940 KB |
s1.txt | AC | 18 ms | 3060 KB |
s2.txt | AC | 134 ms | 2940 KB |