結果
問題 |
No.1469 programing
|
ユーザー |
|
提出日時 | 2022-01-14 06:29:38 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 154 bytes |
コンパイル時間 | 190 ms |
コンパイル使用メモリ | 82,120 KB |
実行使用メモリ | 322,908 KB |
最終ジャッジ日時 | 2024-11-18 14:42:43 |
合計ジャッジ時間 | 21,791 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 TLE * 4 |
ソースコード
S = input() + "#" l = len(S) ans = "" i = 0 while i < l - 1: ans += S[i] if S[i] == S[i + 1]: i += 2 else: i += 1 print(ans)