提出 #51024193


ソースコード 拡げる

S = input()

ism = False
ans = ""
for s in S:
    if s == '|':
        ism = not ism
    elif not ism:
        ans = ans + s
print(ans)

提出情報

提出日時
問題 A - Spoiler
ユーザ zenmaaa
言語 Python (PyPy 3.10-v7.3.12)
得点 150
コード長 144 Byte
結果 AC
実行時間 55 ms
メモリ 76796 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 150 / 150
結果
AC × 3
AC × 14
セット名 テストケース
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, random_08.txt, random_09.txt, random_10.txt, random_11.txt, sample_01.txt, sample_02.txt, sample_03.txt
ケース名 結果 実行時間 メモリ
random_01.txt AC 55 ms 76468 KiB
random_02.txt AC 55 ms 76480 KiB
random_03.txt AC 55 ms 76176 KiB
random_04.txt AC 55 ms 76692 KiB
random_05.txt AC 55 ms 76504 KiB
random_06.txt AC 55 ms 76604 KiB
random_07.txt AC 55 ms 76696 KiB
random_08.txt AC 55 ms 76508 KiB
random_09.txt AC 55 ms 76508 KiB
random_10.txt AC 55 ms 76480 KiB
random_11.txt AC 55 ms 76796 KiB
sample_01.txt AC 55 ms 76632 KiB
sample_02.txt AC 55 ms 76464 KiB
sample_03.txt AC 55 ms 76580 KiB