結果
| 問題 |
No.1149 色塗りゲーム
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-10-12 05:07:17 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 189 ms / 2,000 ms |
| コード長 | 176 bytes |
| コンパイル時間 | 181 ms |
| コンパイル使用メモリ | 82,168 KB |
| 実行使用メモリ | 70,472 KB |
| 平均クエリ数 | 19.82 |
| 最終ジャッジ日時 | 2024-07-17 07:07:59 |
| 合計ジャッジ時間 | 9,997 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 50 |
ソースコード
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())