結果
問題 |
No.2142 Segment Zero
|
ユーザー |
|
提出日時 | 2022-12-02 22:14:11 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 102 bytes |
コンパイル時間 | 183 ms |
コンパイル使用メモリ | 82,092 KB |
実行使用メモリ | 54,492 KB |
最終ジャッジ日時 | 2024-10-09 23:43:50 |
合計ジャッジ時間 | 2,557 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 17 WA * 18 |
ソースコード
n,k=map(int,input().split()) k=n*(n+1)//2-k if bin(k).count('1')==1 and k>n: print(2) else: print(1)