Submission #1498729
Source Code Expand
def ST_string(): x = str(raw_input()) len_changed = True l2 = 0 while len_changed: l1 = len(x) x = x.replace("ST", "", 1) l2 = len(x) if l1==l2: len_changed = False print l2 if __name__ == "__main__": ST_string()
Submission Info
Submission Time | |
---|---|
Task | A - STring |
User | zhuang |
Language | Python (2.7.6) |
Score | 200 |
Code Size | 243 Byte |
Status | TLE |
Exec Time | 1056 ms |
Memory | 3072 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 | 3072 KB |
corner1 | AC | 150 ms | 3072 KB |
corner2 | TLE | 1056 ms | 3072 KB |
example0 | AC | 10 ms | 2568 KB |
example1 | AC | 10 ms | 2568 KB |
example2 | AC | 10 ms | 2568 KB |
handmade0 | AC | 10 ms | 2568 KB |
handmade1 | AC | 10 ms | 2568 KB |
maxrand0 | AC | 895 ms | 3072 KB |
sub_corner0 | AC | 10 ms | 2568 KB |
sub_corner1 | AC | 10 ms | 2568 KB |
sub_corner2 | AC | 10 ms | 2568 KB |
sub_rand0 | AC | 10 ms | 2568 KB |