結果
| 問題 |
No.5 数字のブロック
|
| ユーザー |
taba
|
| 提出日時 | 2016-04-12 23:31:06 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 414 ms / 5,000 ms |
| コード長 | 109 bytes |
| コンパイル時間 | 52 ms |
| コンパイル使用メモリ | 6,948 KB |
| 実行使用メモリ | 7,212 KB |
| 最終ジャッジ日時 | 2024-11-18 08:30:05 |
| 合計ジャッジ時間 | 4,363 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 34 |
ソースコード
l=input() n=input() w=sorted(map(int,raw_input().split())) print len([i for i in range(n)if sum(w[:i+1])<=l])
taba