結果

問題 No.1149 色塗りゲーム
ユーザー SoratopSoratop
提出日時 2020-08-08 21:33:27
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 188 bytes
コンパイル時間 92 ms
コンパイル使用メモリ 10,652 KB
実行使用メモリ 24,504 KB
平均クエリ数 13.98
最終ジャッジ日時 2023-09-24 05:26:10
合計ジャッジ時間 6,357 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 57 ms
24,228 KB
testcase_02 RE -
testcase_03 AC 56 ms
23,596 KB
testcase_04 WA -
testcase_05 AC 56 ms
23,608 KB
testcase_06 RE -
testcase_07 AC 56 ms
23,524 KB
testcase_08 WA -
testcase_09 AC 56 ms
24,000 KB
testcase_10 AC 59 ms
23,448 KB
testcase_11 WA -
testcase_12 AC 59 ms
23,592 KB
testcase_13 WA -
testcase_14 AC 59 ms
23,976 KB
testcase_15 WA -
testcase_16 AC 59 ms
23,356 KB
testcase_17 WA -
testcase_18 AC 58 ms
23,480 KB
testcase_19 WA -
testcase_20 AC 60 ms
23,812 KB
testcase_21 WA -
testcase_22 AC 60 ms
23,660 KB
testcase_23 WA -
testcase_24 AC 60 ms
23,952 KB
testcase_25 WA -
testcase_26 AC 60 ms
23,412 KB
testcase_27 WA -
testcase_28 AC 61 ms
23,472 KB
testcase_29 WA -
testcase_30 WA -
testcase_31 AC 95 ms
23,592 KB
testcase_32 WA -
testcase_33 AC 102 ms
23,992 KB
testcase_34 WA -
testcase_35 AC 99 ms
23,964 KB
testcase_36 WA -
testcase_37 AC 109 ms
23,976 KB
testcase_38 WA -
testcase_39 AC 112 ms
23,980 KB
testcase_40 WA -
testcase_41 AC 111 ms
23,420 KB
testcase_42 WA -
testcase_43 AC 111 ms
23,432 KB
testcase_44 WA -
testcase_45 AC 116 ms
23,652 KB
testcase_46 WA -
testcase_47 AC 125 ms
23,612 KB
testcase_48 WA -
testcase_49 AC 130 ms
23,604 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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