結果
| 問題 | No.1469 programing |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-03-11 18:52:18 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 230 bytes |
| 記録 | |
| コンパイル時間 | 295 ms |
| コンパイル使用メモリ | 85,632 KB |
| 実行使用メモリ | 327,936 KB |
| 最終ジャッジ日時 | 2026-04-05 02:16:15 |
| 合計ジャッジ時間 | 16,101 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 TLE * 2 |
ソースコード
s = input()
s2 = s+"0"
index = 0
result = ""
while index < len(s):
if s2[index]==s2[index+1]:
result+=s2[index]
index+=2
else:
result+=s2[index]
index+=1
print(result)