結果
| 問題 |
No.1149 色塗りゲーム
|
| コンテスト | |
| ユーザー |
ntuda
|
| 提出日時 | 2024-12-30 19:37:52 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 227 ms / 2,000 ms |
| コード長 | 195 bytes |
| コンパイル時間 | 636 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 69,344 KB |
| 平均クエリ数 | 19.82 |
| 最終ジャッジ日時 | 2024-12-30 19:38:04 |
| 合計ジャッジ時間 | 11,224 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 50 |
ソースコード
N = int(input())
if N % 2 == 0:
print(2, N//2)
else:
print(1, N//2 + 1)
t = int(input())
while t == 3:
k,x = map(int,input().split())
print(k, N + 2 - x - k)
t = int(input())
ntuda