結果

問題 No.1149 色塗りゲーム
ユーザー marroncastlemarroncastle
提出日時 2020-10-12 05:07:17
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 189 ms / 2,000 ms
コード長 176 bytes
コンパイル時間 282 ms
コンパイル使用メモリ 87,260 KB
実行使用メモリ 87,956 KB
平均クエリ数 19.82
最終ジャッジ日時 2023-09-24 06:49:18
合計ジャッジ時間 10,520 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
87,484 KB
testcase_01 AC 116 ms
87,692 KB
testcase_02 AC 116 ms
87,300 KB
testcase_03 AC 116 ms
87,484 KB
testcase_04 AC 116 ms
87,116 KB
testcase_05 AC 119 ms
86,944 KB
testcase_06 AC 118 ms
87,104 KB
testcase_07 AC 115 ms
87,116 KB
testcase_08 AC 121 ms
87,572 KB
testcase_09 AC 116 ms
87,372 KB
testcase_10 AC 118 ms
86,792 KB
testcase_11 AC 116 ms
87,444 KB
testcase_12 AC 116 ms
86,932 KB
testcase_13 AC 117 ms
87,196 KB
testcase_14 AC 120 ms
87,740 KB
testcase_15 AC 118 ms
87,560 KB
testcase_16 AC 116 ms
87,364 KB
testcase_17 AC 117 ms
86,808 KB
testcase_18 AC 116 ms
86,640 KB
testcase_19 AC 118 ms
87,504 KB
testcase_20 AC 118 ms
87,220 KB
testcase_21 AC 117 ms
87,264 KB
testcase_22 AC 122 ms
87,332 KB
testcase_23 AC 116 ms
87,348 KB
testcase_24 AC 116 ms
86,952 KB
testcase_25 AC 117 ms
87,324 KB
testcase_26 AC 117 ms
87,296 KB
testcase_27 AC 123 ms
86,928 KB
testcase_28 AC 116 ms
87,456 KB
testcase_29 AC 118 ms
87,036 KB
testcase_30 AC 164 ms
86,644 KB
testcase_31 AC 151 ms
87,672 KB
testcase_32 AC 154 ms
87,736 KB
testcase_33 AC 158 ms
87,416 KB
testcase_34 AC 162 ms
87,068 KB
testcase_35 AC 154 ms
87,444 KB
testcase_36 AC 167 ms
87,484 KB
testcase_37 AC 170 ms
87,076 KB
testcase_38 AC 161 ms
87,364 KB
testcase_39 AC 167 ms
86,868 KB
testcase_40 AC 172 ms
87,392 KB
testcase_41 AC 173 ms
87,428 KB
testcase_42 AC 171 ms
86,908 KB
testcase_43 AC 174 ms
87,180 KB
testcase_44 AC 185 ms
87,612 KB
testcase_45 AC 179 ms
87,084 KB
testcase_46 AC 179 ms
87,548 KB
testcase_47 AC 187 ms
87,252 KB
testcase_48 AC 183 ms
87,604 KB
testcase_49 AC 189 ms
87,956 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
if N%2==1:
  print(1,(N+1)//2)
else:
  print(2,N//2)
s = int(input())
while s==3:
  a, b = map(int, input().split())
  print(a,N+1-b-(a-1))
  s = int(input())
0