結果

問題 No.1469 programing
ユーザー harurunharurun
提出日時 2021-04-03 17:22:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 209 ms / 3,000 ms
コード長 189 bytes
コンパイル時間 1,557 ms
コンパイル使用メモリ 86,920 KB
実行使用メモリ 87,612 KB
最終ジャッジ日時 2023-08-26 09:05:45
合計ジャッジ時間 3,122 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
71,032 KB
testcase_01 AC 65 ms
71,104 KB
testcase_02 AC 63 ms
71,108 KB
testcase_03 AC 63 ms
71,096 KB
testcase_04 AC 64 ms
71,188 KB
testcase_05 AC 79 ms
76,164 KB
testcase_06 AC 70 ms
76,204 KB
testcase_07 AC 69 ms
76,008 KB
testcase_08 AC 81 ms
75,824 KB
testcase_09 AC 85 ms
76,720 KB
testcase_10 AC 82 ms
76,880 KB
testcase_11 AC 82 ms
77,112 KB
testcase_12 AC 80 ms
77,196 KB
testcase_13 AC 63 ms
70,888 KB
testcase_14 AC 82 ms
77,848 KB
testcase_15 AC 80 ms
76,952 KB
testcase_16 AC 83 ms
77,500 KB
testcase_17 AC 209 ms
87,612 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#PyPy用
from sys import stdout
wt=stdout.write
def main():
  S=input()
  wt(S[0])
  a=S[0]
  for i in range(1,len(S)):
    if S[i]!=a:
      wt(S[i])
    a=S[i]
  wt("\n")
  return

main()
0