結果
問題 |
No.1149 色塗りゲーム
|
ユーザー |
![]() |
提出日時 | 2023-12-21 09:50:41 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 192 bytes |
コンパイル時間 | 89 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 27,872 KB |
平均クエリ数 | 13.98 |
最終ジャッジ日時 | 2024-09-27 10:51:32 |
合計ジャッジ時間 | 7,340 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 25 WA * 23 RE * 2 |
ソースコード
N=int(input()) if N%2==0: print(2,N//2) else: print(1,N//2) while True: t=int(input()) if t<=1: exit() k,x=map(int,input().split()) x=N+1-(k+x-1) print(k,x)