結果

問題 No.1469 programing
ユーザー lllllll88938494lllllll88938494
提出日時 2022-01-12 02:25:18
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 307 ms / 3,000 ms
コード長 140 bytes
コンパイル時間 432 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 93,780 KB
最終ジャッジ日時 2024-04-26 22:03:50
合計ジャッジ時間 3,223 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
51,456 KB
testcase_01 AC 39 ms
51,712 KB
testcase_02 AC 40 ms
51,584 KB
testcase_03 AC 40 ms
51,968 KB
testcase_04 AC 44 ms
52,736 KB
testcase_05 AC 53 ms
61,440 KB
testcase_06 AC 52 ms
60,416 KB
testcase_07 AC 57 ms
62,464 KB
testcase_08 AC 73 ms
76,672 KB
testcase_09 AC 74 ms
77,056 KB
testcase_10 AC 75 ms
76,672 KB
testcase_11 AC 82 ms
78,208 KB
testcase_12 AC 77 ms
77,824 KB
testcase_13 AC 40 ms
51,328 KB
testcase_14 AC 88 ms
78,848 KB
testcase_15 AC 78 ms
78,080 KB
testcase_16 AC 87 ms
78,548 KB
testcase_17 AC 307 ms
93,780 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s=input()
print(s[0],end='')
if len(s)==1:
    exit()
for i in range(1,len(s)):
    if s[i]==s[i-1]:
        continue
    print(s[i],end='')
0