結果
問題 | No.2329 Nafmo、イカサマをする |
ユーザー | titia |
提出日時 | 2023-07-25 05:36:14 |
言語 | PyPy3 (7.3.15) |
結果 |
MLE
|
実行時間 | - |
コード長 | 187 bytes |
コンパイル時間 | 192 ms |
コンパイル使用メモリ | 82,108 KB |
実行使用メモリ | 668,612 KB |
最終ジャッジ日時 | 2024-04-09 23:15:42 |
合計ジャッジ時間 | 4,806 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 33 ms
59,340 KB |
testcase_01 | AC | 32 ms
52,956 KB |
testcase_02 | AC | 33 ms
52,152 KB |
testcase_03 | AC | 33 ms
52,772 KB |
testcase_04 | AC | 36 ms
51,948 KB |
testcase_05 | AC | 34 ms
52,268 KB |
testcase_06 | AC | 32 ms
53,112 KB |
testcase_07 | AC | 32 ms
52,680 KB |
testcase_08 | AC | 112 ms
129,476 KB |
testcase_09 | AC | 46 ms
65,736 KB |
testcase_10 | AC | 39 ms
58,576 KB |
testcase_11 | AC | 52 ms
70,520 KB |
testcase_12 | AC | 50 ms
72,908 KB |
testcase_13 | AC | 54 ms
74,104 KB |
testcase_14 | AC | 43 ms
61,392 KB |
testcase_15 | AC | 36 ms
56,496 KB |
testcase_16 | AC | 63 ms
79,532 KB |
testcase_17 | AC | 38 ms
59,372 KB |
testcase_18 | MLE | - |
testcase_19 | -- | - |
testcase_20 | -- | - |
testcase_21 | -- | - |
testcase_22 | -- | - |
testcase_23 | -- | - |
testcase_24 | -- | - |
testcase_25 | -- | - |
testcase_26 | -- | - |
testcase_27 | -- | - |
testcase_28 | -- | - |
testcase_29 | -- | - |
testcase_30 | -- | - |
testcase_31 | -- | - |
testcase_32 | -- | - |
testcase_33 | -- | - |
testcase_34 | -- | - |
testcase_35 | -- | - |
testcase_36 | -- | - |
testcase_37 | -- | - |
testcase_38 | -- | - |
testcase_39 | -- | - |
testcase_40 | -- | - |
testcase_41 | -- | - |
testcase_42 | -- | - |
ソースコード
N,M,K=map(int,input().split()) A=list(map(int,input().split())) S=1 ALL=(1<<(M+1))-1 for i in range(K): NS=1 for a in A: NS|=S<<a S=NS&ALL print(S.bit_length()-1)