結果
問題 | No.73 helloworld |
ユーザー | しらゆき |
提出日時 | 2015-11-24 22:18:47 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 55 ms / 5,000 ms |
コード長 | 624 bytes |
コンパイル時間 | 4,475 ms |
コンパイル使用メモリ | 103,364 KB |
実行使用メモリ | 22,832 KB |
最終ジャッジ日時 | 2023-09-11 21:49:51 |
合計ジャッジ時間 | 6,142 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 54 ms
20,744 KB |
testcase_01 | AC | 55 ms
20,660 KB |
testcase_02 | AC | 55 ms
22,832 KB |
testcase_03 | AC | 54 ms
20,680 KB |
testcase_04 | AC | 55 ms
20,664 KB |
testcase_05 | AC | 55 ms
20,744 KB |
testcase_06 | AC | 54 ms
22,700 KB |
testcase_07 | AC | 55 ms
20,588 KB |
testcase_08 | AC | 55 ms
18,548 KB |
testcase_09 | AC | 55 ms
20,596 KB |
testcase_10 | AC | 54 ms
20,776 KB |
testcase_11 | AC | 55 ms
20,844 KB |
testcase_12 | AC | 55 ms
20,656 KB |
testcase_13 | AC | 55 ms
18,604 KB |
コンパイルメッセージ
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); } }