結果
| 問題 |
No.5 数字のブロック
|
| ユーザー |
|
| 提出日時 | 2021-03-29 01:45:35 |
| 言語 | Bash (Bash 5.2.21) |
| 結果 |
AC
|
| 実行時間 | 18 ms / 5,000 ms |
| コード長 | 141 bytes |
| コンパイル時間 | 38 ms |
| コンパイル使用メモリ | 5,248 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-29 09:37:40 |
| 合計ジャッジ時間 | 1,426 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
| 外部呼び出し有り |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 34 |
ソースコード
read l; read n; read s
echo $s |
tr ' ' '\n' |
sort -n |
awk "/./ { n += \$0; if (n > $l) { nextfile } print \$0 }" |
wc -l