結果

問題 No.191 供託金
ユーザー keiden
提出日時 2024-09-15 21:24:06
言語 Scheme
(Gauche-0.9.15)
結果
AC  
実行時間 33 ms / 5,000 ms
コード長 258 bytes
コンパイル時間 261 ms
コンパイル使用メモリ 5,632 KB
実行使用メモリ 16,000 KB
最終ジャッジ日時 2024-09-15 21:24:08
合計ジャッジ時間 1,982 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

(define yuki191
  (let*
    (
      (n (read-line))
      (cn (map string->number (string-split (read-line) #\space)))
      (sum (fold + 0 cn))
      (ans (* 30 (length (filter (lambda (x) (<= (* x 10) sum)) cn))))
    )
    (write ans)
    (newline)
  )
)
0