結果

問題 No.1149 色塗りゲーム
ユーザー vwxyzvwxyz
提出日時 2023-12-21 09:50:41
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 192 bytes
コンパイル時間 205 ms
コンパイル使用メモリ 11,776 KB
実行使用メモリ 25,992 KB
平均クエリ数 13.98
最終ジャッジ日時 2023-12-21 09:50:50
合計ジャッジ時間 7,900 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 74 ms
25,992 KB
testcase_02 RE -
testcase_03 AC 74 ms
25,992 KB
testcase_04 WA -
testcase_05 AC 86 ms
25,992 KB
testcase_06 RE -
testcase_07 AC 75 ms
25,992 KB
testcase_08 WA -
testcase_09 AC 81 ms
25,992 KB
testcase_10 AC 80 ms
25,992 KB
testcase_11 WA -
testcase_12 AC 80 ms
25,992 KB
testcase_13 WA -
testcase_14 AC 82 ms
25,992 KB
testcase_15 WA -
testcase_16 AC 77 ms
25,992 KB
testcase_17 WA -
testcase_18 AC 76 ms
25,992 KB
testcase_19 WA -
testcase_20 AC 79 ms
25,992 KB
testcase_21 WA -
testcase_22 AC 78 ms
25,992 KB
testcase_23 WA -
testcase_24 AC 83 ms
25,992 KB
testcase_25 WA -
testcase_26 AC 80 ms
25,992 KB
testcase_27 WA -
testcase_28 AC 82 ms
25,992 KB
testcase_29 WA -
testcase_30 WA -
testcase_31 AC 112 ms
25,992 KB
testcase_32 WA -
testcase_33 AC 136 ms
25,992 KB
testcase_34 WA -
testcase_35 AC 117 ms
25,992 KB
testcase_36 WA -
testcase_37 AC 128 ms
25,992 KB
testcase_38 WA -
testcase_39 AC 126 ms
25,992 KB
testcase_40 WA -
testcase_41 AC 131 ms
25,992 KB
testcase_42 WA -
testcase_43 AC 132 ms
25,992 KB
testcase_44 WA -
testcase_45 AC 146 ms
25,992 KB
testcase_46 WA -
testcase_47 AC 142 ms
25,992 KB
testcase_48 WA -
testcase_49 AC 146 ms
25,992 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
if N%2==0:
    print(2,N//2)
else:
    print(1,N//2)
while True:
    t=int(input())
    if t<=1:
        exit()
    k,x=map(int,input().split())
    x=N+1-(k+x-1)
    print(k,x)
0