結果
問題 |
No.1469 programing
|
ユーザー |
![]() |
提出日時 | 2021-04-09 21:22:22 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 997 ms / 3,000 ms |
コード長 | 148 bytes |
コンパイル時間 | 180 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 467,460 KB |
最終ジャッジ日時 | 2024-06-25 03:54:40 |
合計ジャッジ時間 | 3,036 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 |
ソースコード
import sys input = sys.stdin.readline S = list(input())[: -1] s = [] for x in S: if len(s) and s[-1] == x: s.pop() s.append(x) print("".join(s))