結果
| 問題 |
No.1469 programing
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-01-14 06:30:47 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 227 ms / 3,000 ms |
| コード長 | 187 bytes |
| コンパイル時間 | 147 ms |
| コンパイル使用メモリ | 82,092 KB |
| 実行使用メモリ | 92,028 KB |
| 最終ジャッジ日時 | 2024-11-18 14:43:40 |
| 合計ジャッジ時間 | 2,262 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
S = input() + "#"
l = len(S)
ans = ""
i = 0
while i < l - 1:
#ans += S[i]
print(S[i], end = "")
if S[i] == S[i + 1]:
i += 2
else:
i += 1
#print(ans)