結果
| 問題 | No.1149 色塗りゲーム |
| コンテスト | |
| ユーザー |
ntuda
|
| 提出日時 | 2024-12-30 19:37:52 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 113 ms / 2,000 ms |
| コード長 | 195 bytes |
| 記録 | |
| コンパイル時間 | 363 ms |
| コンパイル使用メモリ | 85,120 KB |
| 実行使用メモリ | 72,472 KB |
| 平均クエリ数 | 19.82 |
| 最終ジャッジ日時 | 2026-06-04 08:13:03 |
| 合計ジャッジ時間 | 7,374 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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