結果

問題 No.1469 programing
ユーザー 萩3萩3
提出日時 2021-04-30 17:02:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 356 ms / 3,000 ms
コード長 160 bytes
コンパイル時間 303 ms
コンパイル使用メモリ 87,132 KB
実行使用メモリ 76,276 KB
最終ジャッジ日時 2023-09-25 17:38:24
合計ジャッジ時間 3,577 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,260 KB
testcase_01 AC 70 ms
71,140 KB
testcase_02 AC 74 ms
71,188 KB
testcase_03 AC 69 ms
71,196 KB
testcase_04 AC 70 ms
71,136 KB
testcase_05 AC 74 ms
75,536 KB
testcase_06 AC 74 ms
75,696 KB
testcase_07 AC 78 ms
75,536 KB
testcase_08 AC 85 ms
75,600 KB
testcase_09 AC 85 ms
75,264 KB
testcase_10 AC 84 ms
75,264 KB
testcase_11 AC 95 ms
76,224 KB
testcase_12 AC 90 ms
76,044 KB
testcase_13 AC 71 ms
71,292 KB
testcase_14 AC 102 ms
76,012 KB
testcase_15 AC 93 ms
76,276 KB
testcase_16 AC 106 ms
76,020 KB
testcase_17 AC 356 ms
76,128 KB
権限があれば一括ダウンロードができます

ソースコード

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