結果

問題 No.191 供託金
ユーザー 6soukiti29
提出日時 2019-07-20 14:17:43
言語 Nim
(2.2.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 202 bytes
コンパイル時間 3,365 ms
コンパイル使用メモリ 65,736 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-02 05:53:25
合計ジャッジ時間 4,071 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

import sequtils,strutils,math
var
    N = stdin.readline.parseInt
    C = stdin.readline.split.map(parseInt)
    cnt = 0
    s = sum(C)
for c in C:
    if c.float <= s / 10:
        cnt += 30


echo cnt
0