結果
問題 |
No.2142 Segment Zero
|
ユーザー |
|
提出日時 | 2022-12-02 22:12:59 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 101 bytes |
コンパイル時間 | 190 ms |
コンパイル使用メモリ | 82,160 KB |
実行使用メモリ | 67,080 KB |
最終ジャッジ日時 | 2024-10-09 23:42:52 |
合計ジャッジ時間 | 3,589 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 2 |
other | RE * 35 |
ソースコード
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)