結果

問題 No.1469 programing
ユーザー 萩3
提出日時 2021-04-30 17:02:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 268 ms / 3,000 ms
コード長 160 bytes
コンパイル時間 122 ms
コンパイル使用メモリ 82,044 KB
実行使用メモリ 75,492 KB
最終ジャッジ日時 2024-07-18 13:51:50
合計ジャッジ時間 2,115 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

tmp = None
while True:
    c = sys.stdin.buffer.read(1)
    if c==tmp: continue
    
    sys.stdout.buffer.write(c)
    tmp=c
    if c==b'\n': break
0