結果
問題 |
No.5 数字のブロック
|
ユーザー |
|
提出日時 | 2016-10-28 13:19:11 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 142 bytes |
コンパイル時間 | 82 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 7,040 KB |
最終ジャッジ日時 | 2024-11-24 05:10:13 |
合計ジャッジ時間 | 1,321 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 WA * 10 |
ソースコード
L=int(raw_input()) N=int(raw_input()) W=map(int,raw_input().split()) W.sort() for i in xrange(N): if L<W[i]: print i break L-=W[i]