結果
| 問題 | No.1149 色塗りゲーム |
| コンテスト | |
| ユーザー |
37zigen
|
| 提出日時 | 2020-08-08 00:07:16 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 199 bytes |
| 記録 | |
| コンパイル時間 | 342 ms |
| コンパイル使用メモリ | 20,956 KB |
| 実行使用メモリ | 60,420 KB |
| 平均クエリ数 | 10.08 |
| 最終ジャッジ日時 | 2026-03-31 18:31:46 |
| 合計ジャッジ時間 | 16,827 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 RE * 48 |
ソースコード
N = int(input())
if N % 2 == 1:
print(1, (N + 1) // 2)
else:
print(2, N // 2)
while True:
t=int(input())
if t==0:
exit(0)
k,x=map(int,input().split())
print(k,N-k+1-x)
37zigen