結果
問題 |
No.1149 色塗りゲーム
|
ユーザー |
![]() |
提出日時 | 2020-08-14 20:48:01 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 210 bytes |
コンパイル時間 | 89 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 27,896 KB |
平均クエリ数 | 8.00 |
最終ジャッジ日時 | 2024-07-17 05:51:35 |
合計ジャッジ時間 | 7,311 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 50 |
ソースコード
N=int(input()) d=[1]*N if N%2==0: print(f"{2} {N//2-1}") else: print(f"{1} {N//2}") while True: t=int(input()) if t==0: break k,x=map(int,input().split()) print(f"{k} {N+2-x-k}")