Submission #1369695
Source Code Expand
import re l = lambda w: re.sub("ST", "", w, count=1) b = raw_input() a = l(b) while b != a: b = a a = l(b) print len(a)
Submission Info
Submission Time | |
---|---|
Task | A - STring |
User | fuurin |
Language | Python (2.7.6) |
Score | 200 |
Code Size | 128 Byte |
Status | TLE |
Exec Time | 1056 ms |
Memory | 3408 KB |
Judge Result
Set Name | Sample | Subtask1 | All | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 200 / 200 | 0 / 100 | ||||||||
Status |
|
|
|
Set Name | Test Cases |
---|---|
Sample | example0, example1, example2 |
Subtask1 | example0, example1, example2, sub_corner0, sub_corner1, sub_corner2, sub_rand0, handmade0, handmade1 |
All | corner0, corner1, corner2, example0, example1, example2, handmade0, handmade1, maxrand0, sub_corner0, sub_corner1, sub_corner2, sub_rand0 |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
corner0 | TLE | 1056 ms | 3396 KB |
corner1 | AC | 44 ms | 3388 KB |
corner2 | TLE | 1056 ms | 3408 KB |
example0 | AC | 11 ms | 2568 KB |
example1 | AC | 11 ms | 2568 KB |
example2 | AC | 11 ms | 2568 KB |
handmade0 | AC | 11 ms | 2568 KB |
handmade1 | AC | 11 ms | 2568 KB |
maxrand0 | TLE | 1056 ms | 3328 KB |
sub_corner0 | AC | 11 ms | 2568 KB |
sub_corner1 | AC | 11 ms | 2568 KB |
sub_corner2 | AC | 11 ms | 2568 KB |
sub_rand0 | AC | 11 ms | 2568 KB |