Skip to main content

Command Palette

Search for a command to run...

Atcoder ABC problem A Solution

Published
1 min read

this is the brute forse solution, just need to read the problem and write the simple solution and that's it

import sys
input = sys.stdin.readline

def solve():
    n = int(input())
    c = input().strip()

    result = c.lstrip('o')
    print(result)

solve()
10 views
Atcoder ABC problem A Solution