結果
| 問題 | No.191 供託金 |
| コンテスト | |
| ユーザー |
mine691
|
| 提出日時 | 2019-03-16 00:58:25 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 363 bytes |
| 記録 | |
| コンパイル時間 | 1,276 ms |
| コンパイル使用メモリ | 179,796 KB |
| 実行使用メモリ | 7,720 KB |
| 最終ジャッジ日時 | 2026-03-23 01:12:15 |
| 合計ジャッジ時間 | 1,937 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 23 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int a[334], N, p, b;
int main()
{
int ans = 0;
cin >> N;
for (int i = 0; i < N; i++)
{
cin >> a[i];
p += a[i];
}
for (int i = 0; i < N; i++)
{
if (a[i] <= p / 10)
ans += 30;
}
cout << ans << endl;
}
mine691