結果

問題 No.1149 色塗りゲーム
ユーザー rythem00359rythem00359
提出日時 2020-08-11 18:19:15
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 127 ms / 2,000 ms
コード長 194 bytes
コンパイル時間 136 ms
コンパイル使用メモリ 10,724 KB
実行使用メモリ 24,364 KB
平均クエリ数 19.82
最終ジャッジ日時 2023-09-24 05:29:42
合計ジャッジ時間 6,881 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
23,604 KB
testcase_01 AC 55 ms
23,472 KB
testcase_02 AC 56 ms
23,572 KB
testcase_03 AC 55 ms
24,216 KB
testcase_04 AC 55 ms
24,364 KB
testcase_05 AC 56 ms
23,368 KB
testcase_06 AC 56 ms
23,752 KB
testcase_07 AC 56 ms
23,568 KB
testcase_08 AC 56 ms
23,592 KB
testcase_09 AC 56 ms
23,580 KB
testcase_10 AC 58 ms
23,988 KB
testcase_11 AC 58 ms
24,000 KB
testcase_12 AC 57 ms
23,980 KB
testcase_13 AC 57 ms
23,568 KB
testcase_14 AC 57 ms
23,968 KB
testcase_15 AC 57 ms
23,944 KB
testcase_16 AC 57 ms
23,440 KB
testcase_17 AC 58 ms
24,312 KB
testcase_18 AC 58 ms
23,396 KB
testcase_19 AC 59 ms
23,620 KB
testcase_20 AC 58 ms
23,388 KB
testcase_21 AC 58 ms
23,628 KB
testcase_22 AC 59 ms
23,532 KB
testcase_23 AC 60 ms
24,328 KB
testcase_24 AC 60 ms
23,444 KB
testcase_25 AC 61 ms
23,416 KB
testcase_26 AC 60 ms
23,684 KB
testcase_27 AC 61 ms
24,036 KB
testcase_28 AC 61 ms
23,620 KB
testcase_29 AC 62 ms
23,432 KB
testcase_30 AC 101 ms
23,980 KB
testcase_31 AC 94 ms
23,580 KB
testcase_32 AC 97 ms
24,040 KB
testcase_33 AC 100 ms
23,440 KB
testcase_34 AC 103 ms
24,256 KB
testcase_35 AC 96 ms
23,556 KB
testcase_36 AC 104 ms
24,012 KB
testcase_37 AC 107 ms
24,228 KB
testcase_38 AC 101 ms
23,608 KB
testcase_39 AC 107 ms
24,228 KB
testcase_40 AC 113 ms
23,568 KB
testcase_41 AC 110 ms
23,396 KB
testcase_42 AC 109 ms
24,228 KB
testcase_43 AC 110 ms
23,464 KB
testcase_44 AC 117 ms
24,364 KB
testcase_45 AC 118 ms
23,384 KB
testcase_46 AC 119 ms
23,684 KB
testcase_47 AC 125 ms
23,596 KB
testcase_48 AC 124 ms
23,632 KB
testcase_49 AC 127 ms
23,528 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
print((N % 2 + 1) % 2 + 1, int(N / 2 + N % 2))
flag = int(input())
while flag == 3:
    k, x = map(int,input().split())
    print(k, int(N + 2 - x - k))
    flag = int(input())
0