結果

問題 No.1149 色塗りゲーム
ユーザー NatsubiSogan
提出日時 2020-08-28 18:50:42
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 210 bytes
コンパイル時間 142 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 27,744 KB
平均クエリ数 5.50
最終ジャッジ日時 2024-07-17 06:51:02
合計ジャッジ時間 7,428 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 48
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
if n % 2 == 0:
    print(2, n // 2)
else:
    print(1, n // 2 + 1)
while True:
    t = int(input())
    if t != 3:
        break
    k, x = map(int, input().split())
    print(k, n + k - x + 2)
0