結果
問題 | No.5 数字のブロック |
ユーザー |
![]() |
提出日時 | 2022-10-17 22:23:23 |
言語 | Nim (2.2.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 192 bytes |
コンパイル時間 | 3,646 ms |
コンパイル使用メモリ | 65,664 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-28 11:24:38 |
合計ジャッジ時間 | 4,795 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 27 WA * 7 |
ソースコード
import algorithm,sequtils,strutilsvar l,n = parseInt readLine stdinvar w = stdin.readLine.split.map parseIntw.sort cmpvar cnt = 0for x in w:if l-x > 0:l -= xinc cntecho cnt