結果
| 問題 | No.1469 programing |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-03-11 18:52:18 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
TLE
不安定
|
| 実行時間 | - |
| コード長 | 230 bytes |
| 記録 | |
| コンパイル時間 | 236 ms |
| コンパイル使用メモリ | 96,488 KB |
| 実行使用メモリ | 329,984 KB |
| 最終ジャッジ日時 | 2026-08-28 07:31:45 |
| 合計ジャッジ時間 | 17,725 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)