結果

問題 No.1469 programing
ユーザー kfield1950kfield1950
提出日時 2021-04-13 20:53:23
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 189 bytes
コンパイル時間 1,071 ms
コンパイル使用メモリ 87,268 KB
実行使用メモリ 271,296 KB
最終ジャッジ日時 2023-09-12 12:49:28
合計ジャッジ時間 9,740 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,624 KB
testcase_01 AC 73 ms
71,576 KB
testcase_02 AC 75 ms
71,460 KB
testcase_03 AC 75 ms
71,432 KB
testcase_04 AC 76 ms
71,376 KB
testcase_05 AC 79 ms
75,976 KB
testcase_06 AC 79 ms
76,176 KB
testcase_07 AC 81 ms
75,904 KB
testcase_08 AC 404 ms
86,152 KB
testcase_09 AC 635 ms
99,220 KB
testcase_10 AC 524 ms
94,212 KB
testcase_11 TLE -
testcase_12 AC 1,963 ms
260,756 KB
testcase_13 AC 75 ms
71,472 KB
testcase_14 TLE -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()
ans = s[0]
pre = s[0]
if len(s) != 1:
    for i in range(1, len(s)):
        if pre != s[i]:
            ans = ans + s[i]
            pre = s[i]
            
        
print(ans)
0