結果
問題 | No.1469 programing |
ユーザー |
|
提出日時 | 2021-05-31 09:43:04 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 195 bytes |
コンパイル時間 | 266 ms |
コンパイル使用メモリ | 12,800 KB |
実行使用メモリ | 25,688 KB |
最終ジャッジ日時 | 2024-11-08 21:07:24 |
合計ジャッジ時間 | 12,197 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 TLE * 1 |
ソースコード
str = input() ans="" i = 0 while i < len(str): if i+1 < len(str) and str[i] == str[i + 1]: ans += str[i] i += 2 else: ans += str[i] i += 1 print(ans)