11070 | 2024-07-05 23:51:36 | proba | Bolha a számegyenesen | python3 | Accepted 100/100 | 17ms | 3192 KiB |
semmi = input()
b = input()
print(abs(b.count('R')-b.count('L')))
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 17ms | 2916 KiB | ||||
2 | Accepted | 17ms | 2916 KiB | ||||
subtask2 | 15/15 | ||||||
3 | Accepted | 17ms | 2916 KiB | ||||
4 | Accepted | 17ms | 2916 KiB | ||||
5 | Accepted | 17ms | 3104 KiB | ||||
6 | Accepted | 17ms | 2988 KiB | ||||
subtask3 | 10/10 | ||||||
7 | Accepted | 17ms | 2916 KiB | ||||
8 | Accepted | 17ms | 2916 KiB | ||||
9 | Accepted | 17ms | 3056 KiB | ||||
10 | Accepted | 17ms | 3064 KiB | ||||
11 | Accepted | 17ms | 2916 KiB | ||||
subtask4 | 75/75 | ||||||
12 | Accepted | 17ms | 2920 KiB | ||||
13 | Accepted | 17ms | 2916 KiB | ||||
14 | Accepted | 17ms | 3192 KiB | ||||
15 | Accepted | 17ms | 3088 KiB | ||||
16 | Accepted | 17ms | 2960 KiB | ||||
17 | Accepted | 17ms | 2800 KiB | ||||
18 | Accepted | 17ms | 2912 KiB | ||||
19 | Accepted | 17ms | 2916 KiB | ||||
20 | Accepted | 17ms | 2932 KiB | ||||
21 | Accepted | 17ms | 2916 KiB |