Submission #3791399
Source Code Expand
a,b = map(int,raw_input().split()) r=0 s=t=u=v=0 for i in range(b-a): s = a+i%10 t = a+i/ 10000%10 u = a+i / 10 % 10 v = a+i /1000% 10 if s==t and u == v: r +=1 print r
Submission Info
Submission Time | |
---|---|
Task | B - Palindromic Numbers |
User | kakaedashi |
Language | Python (2.7.6) |
Score | 0 |
Code Size | 186 Byte |
Status | WA |
Exec Time | 55 ms |
Memory | 5380 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 | AC | 55 ms | 5380 KB |
02.txt | WA | 53 ms | 5380 KB |
03.txt | AC | 53 ms | 5252 KB |
04.txt | AC | 32 ms | 3972 KB |
05.txt | AC | 27 ms | 3716 KB |
06.txt | AC | 23 ms | 3460 KB |
07.txt | AC | 53 ms | 5380 KB |
08.txt | WA | 11 ms | 2568 KB |
s1.txt | AC | 11 ms | 2568 KB |
s2.txt | WA | 41 ms | 4484 KB |