Submission #1228116
Source Code Expand
import java.util.Scanner; public class Main { static Scanner s = new Scanner(System.in); public static void main(String[] args) { String r=s.next(),buf=r; while(r!=(buf=r.replaceAll("ST", ""))) { r=buf; } System.out.println(r); } }
Submission Info
Submission Time | |
---|---|
Task | A - STring |
User | fal_rnd |
Language | Java8 (OpenJDK 1.8.0) |
Score | 0 |
Code Size | 261 Byte |
Status | WA |
Exec Time | 1061 ms |
Memory | 153880 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 | TLE | 1061 ms | 153880 KB |
corner1 | WA | 183 ms | 28756 KB |
corner2 | WA | 238 ms | 41212 KB |
example0 | WA | 89 ms | 18900 KB |
example1 | WA | 88 ms | 20564 KB |
example2 | WA | 88 ms | 18900 KB |
handmade0 | WA | 89 ms | 20564 KB |
handmade1 | WA | 93 ms | 20564 KB |
maxrand0 | WA | 271 ms | 38352 KB |
sub_corner0 | WA | 97 ms | 23636 KB |
sub_corner1 | WA | 90 ms | 20564 KB |
sub_corner2 | WA | 92 ms | 23764 KB |
sub_rand0 | WA | 90 ms | 21076 KB |