結果
| 問題 | No.191 供託金 |
| コンテスト | |
| ユーザー |
pirorirori_n712
|
| 提出日時 | 2018-07-13 01:50:42 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 29 ms / 5,000 ms |
| コード長 | 323 bytes |
| 記録 | |
| コンパイル時間 | 1,387 ms |
| コンパイル使用メモリ | 111,084 KB |
| 実行使用メモリ | 27,192 KB |
| 最終ジャッジ日時 | 2024-10-04 23:32:12 |
| 合計ジャッジ時間 | 2,821 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 23 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
using System.Linq;
class No191{
static void Main(){
var a=Int32.Parse(Console.ReadLine());
var b=Console.ReadLine().Split(' ').Select(x=>Int32.Parse(x)).ToArray();
var c=((b.Select(x=>x).Sum())/10)+1;
var d=b.Where(x=>x<c).Count();
Console.WriteLine(d*30);
}
}
pirorirori_n712