結果
問題 |
No.1469 programing
|
ユーザー |
![]() |
提出日時 | 2021-04-03 02:23:39 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 929 ms / 3,000 ms |
コード長 | 174 bytes |
コンパイル時間 | 360 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 20,184 KB |
最終ジャッジ日時 | 2024-12-24 18:20:01 |
合計ジャッジ時間 | 3,040 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 |
ソースコード
#WA1 def main(): S=input() if len(S)==1: print(S) return ans=S[0] for i in range(1,len(S)): if S[i-1]!=S[i]: ans+=S[i] print(ans) return main()