結果
問題 |
No.1469 programing
|
ユーザー |
|
提出日時 | 2021-04-09 21:36:20 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 148 bytes |
コンパイル時間 | 381 ms |
コンパイル使用メモリ | 81,972 KB |
実行使用メモリ | 270,536 KB |
最終ジャッジ日時 | 2024-06-25 04:31:34 |
合計ジャッジ時間 | 12,314 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 TLE * 2 -- * 3 |
ソースコード
S = input() Ans = "" cnt = 0 for i in S: if cnt == 0: Ans += i else: if i != S[cnt-1]: Ans += i cnt += 1 print(Ans)