結果

問題 No.1469 programing
ユーザー raven7959raven7959
提出日時 2021-08-13 15:45:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 439 ms / 3,000 ms
コード長 119 bytes
コンパイル時間 203 ms
コンパイル使用メモリ 82,100 KB
実行使用メモリ 312,252 KB
最終ジャッジ日時 2024-04-14 09:02:00
合計ジャッジ時間 3,020 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
52,508 KB
testcase_01 AC 36 ms
52,076 KB
testcase_02 AC 36 ms
51,828 KB
testcase_03 AC 36 ms
53,432 KB
testcase_04 AC 39 ms
54,144 KB
testcase_05 AC 42 ms
59,768 KB
testcase_06 AC 41 ms
58,976 KB
testcase_07 AC 47 ms
59,152 KB
testcase_08 AC 51 ms
71,076 KB
testcase_09 AC 53 ms
75,100 KB
testcase_10 AC 53 ms
72,720 KB
testcase_11 AC 75 ms
98,176 KB
testcase_12 AC 57 ms
82,376 KB
testcase_13 AC 37 ms
52,396 KB
testcase_14 AC 81 ms
98,108 KB
testcase_15 AC 67 ms
89,344 KB
testcase_16 AC 79 ms
90,844 KB
testcase_17 AC 439 ms
312,252 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S=input()
L=[]
L.append(S[0])
for i in range(len(S)-1):
    if S[i+1]!=S[i]:
        L.append(S[i+1])
print("".join(L))
0