結果
問題 | No.73 helloworld |
ユーザー |
![]() |
提出日時 | 2015-11-24 22:18:47 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 23 ms / 5,000 ms |
コード長 | 624 bytes |
コンパイル時間 | 3,019 ms |
コンパイル使用メモリ | 110,524 KB |
実行使用メモリ | 17,920 KB |
最終ジャッジ日時 | 2024-06-29 11:28:57 |
合計ジャッジ時間 | 2,879 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 14 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;class Program{static void Main(){var c = new long[26];for (int i = 0; i < 26; i++){c[i] = long.Parse(Console.ReadLine());}long d = c[3];long e = c[4];long h = c[7];long l = c[11];long o = c[14];long r = c[17];long w = c[22];long L = 0;for (int i = 2; i < l; i++){L = Math.Max(L, (i * (i - 1) / 2) * (l - i));}long ans = d * e * h * r * w * L * ((o + 1) / 2) * (o / 2);Console.WriteLine(ans);}}