Submission #905772
Source Code Expand
str = "TSTTSS" res=len(str) for i in range(len(str)-1): if str[i]=='S' and str[i+1]=='T': res = res - 2 print(res)
Submission Info
Submission Time | |
---|---|
Task | A - STring |
User | chiwakii |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 140 Byte |
Status | WA |
Exec Time | 22 ms |
Memory | 3064 KB |
Judge Result
Set Name | Sample | Subtask1 | All | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 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 | WA | 22 ms | 3064 KB |
corner1 | WA | 22 ms | 3064 KB |
corner2 | WA | 22 ms | 3064 KB |
example0 | AC | 22 ms | 3064 KB |
example1 | WA | 22 ms | 3064 KB |
example2 | AC | 22 ms | 3064 KB |
handmade0 | WA | 22 ms | 3064 KB |
handmade1 | WA | 22 ms | 3064 KB |
maxrand0 | WA | 22 ms | 3064 KB |
sub_corner0 | WA | 22 ms | 3064 KB |
sub_corner1 | WA | 22 ms | 3064 KB |
sub_corner2 | AC | 22 ms | 3064 KB |
sub_rand0 | WA | 22 ms | 3064 KB |