結果

問題 No.2828 Remainder Game
ユーザー vwxyzvwxyz
提出日時 2024-08-02 22:36:03
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 182 ms / 2,000 ms
コード長 214 bytes
コンパイル時間 269 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 27,992 KB
平均クエリ数 30.00
最終ジャッジ日時 2024-08-02 22:36:10
合計ジャッジ時間 5,628 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 179 ms
27,720 KB
testcase_01 AC 177 ms
27,720 KB
testcase_02 AC 166 ms
27,592 KB
testcase_03 AC 179 ms
27,592 KB
testcase_04 AC 177 ms
27,720 KB
testcase_05 AC 165 ms
27,736 KB
testcase_06 AC 166 ms
27,736 KB
testcase_07 AC 170 ms
27,608 KB
testcase_08 AC 168 ms
27,736 KB
testcase_09 AC 179 ms
27,992 KB
testcase_10 AC 163 ms
27,904 KB
testcase_11 AC 173 ms
27,608 KB
testcase_12 AC 168 ms
27,864 KB
testcase_13 AC 162 ms
27,864 KB
testcase_14 AC 161 ms
27,480 KB
testcase_15 AC 166 ms
27,856 KB
testcase_16 AC 168 ms
27,984 KB
testcase_17 AC 169 ms
27,472 KB
testcase_18 AC 182 ms
27,856 KB
testcase_19 AC 175 ms
27,344 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
ans=0
for b in range(20):
    M=10000
    R=[m for m in range(M) if m&1<<b]
    K=len(R)
    if K==0:
        break
    print(M,K)
    print(*R)
    C=int(input())
    ans+=C<<b
print(0,1)
print(ans)
0