Submission #19557889
Source Code Expand
Copy
N, X = map(int, input().split()) S = list(input()) for i in S: if i == "o": X += 1 elif i == "x": X -= 1 if X <= 0: print(0) else: print(X)
Submission Info
Submission Time | |
---|---|
Task | B - Quizzes |
User | lbxpsv |
Language | PyPy3 (7.3.0) |
Score | 0 |
Code Size | 165 Byte |
Status | WA |
Exec Time | 83 ms |
Memory | 73236 KB |
Judge Result
Set Name | Sample | All | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 200 | ||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample_01.txt, sample_02.txt, sample_03.txt |
All | random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, sample_01.txt, sample_02.txt, sample_03.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
random_01.txt | WA | 83 ms | 69312 KB |
random_02.txt | WA | 66 ms | 70892 KB |
random_03.txt | AC | 55 ms | 64012 KB |
random_04.txt | AC | 68 ms | 72620 KB |
random_05.txt | AC | 68 ms | 72596 KB |
random_06.txt | AC | 65 ms | 73236 KB |
random_07.txt | AC | 63 ms | 72384 KB |
sample_01.txt | AC | 48 ms | 61332 KB |
sample_02.txt | AC | 47 ms | 61224 KB |
sample_03.txt | AC | 52 ms | 60932 KB |