結果

問題 No.1469 programing
ユーザー gorugo30gorugo30
提出日時 2021-05-08 16:29:31
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 326 ms / 3,000 ms
コード長 138 bytes
コンパイル時間 556 ms
コンパイル使用メモリ 87,040 KB
実行使用メモリ 94,712 KB
最終ジャッジ日時 2023-10-15 03:58:37
合計ジャッジ時間 3,596 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,192 KB
testcase_01 AC 75 ms
71,144 KB
testcase_02 AC 74 ms
71,144 KB
testcase_03 AC 74 ms
71,460 KB
testcase_04 AC 78 ms
71,308 KB
testcase_05 AC 85 ms
76,608 KB
testcase_06 AC 83 ms
76,036 KB
testcase_07 AC 90 ms
76,588 KB
testcase_08 AC 97 ms
78,040 KB
testcase_09 AC 97 ms
78,028 KB
testcase_10 AC 100 ms
77,904 KB
testcase_11 AC 106 ms
79,300 KB
testcase_12 AC 101 ms
79,176 KB
testcase_13 AC 76 ms
71,424 KB
testcase_14 AC 112 ms
80,248 KB
testcase_15 AC 102 ms
79,452 KB
testcase_16 AC 113 ms
80,204 KB
testcase_17 AC 326 ms
94,712 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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