結果

問題 No.1469 programing
ユーザー 萩3萩3
提出日時 2021-04-30 17:07:10
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 468 ms / 3,000 ms
コード長 115 bytes
コンパイル時間 1,252 ms
コンパイル使用メモリ 86,824 KB
実行使用メモリ 292,420 KB
最終ジャッジ日時 2023-09-25 17:43:50
合計ジャッジ時間 4,681 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,100 KB
testcase_01 AC 71 ms
71,232 KB
testcase_02 AC 71 ms
70,964 KB
testcase_03 AC 74 ms
71,096 KB
testcase_04 AC 71 ms
71,132 KB
testcase_05 AC 75 ms
75,824 KB
testcase_06 AC 73 ms
75,416 KB
testcase_07 AC 75 ms
75,544 KB
testcase_08 AC 80 ms
79,568 KB
testcase_09 AC 83 ms
81,960 KB
testcase_10 AC 82 ms
81,012 KB
testcase_11 AC 106 ms
96,372 KB
testcase_12 AC 89 ms
86,912 KB
testcase_13 AC 72 ms
71,016 KB
testcase_14 AC 114 ms
96,380 KB
testcase_15 AC 99 ms
85,776 KB
testcase_16 AC 109 ms
92,208 KB
testcase_17 AC 468 ms
292,420 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s=str(input())
word=[]
a=str(0)
for i in s:
  if a!=i:
    a=i
    word.append(i)

words=''.join(word)
print(words)
0