結果

問題 No.445 得点
ユーザー 14番14番
提出日時 2016-11-18 22:25:16
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 68 ms / 2,000 ms
コード長 1,001 bytes
コンパイル時間 3,415 ms
コンパイル使用メモリ 104,708 KB
実行使用メモリ 23,996 KB
最終ジャッジ日時 2023-09-12 07:14:54
合計ジャッジ時間 5,455 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
23,980 KB
testcase_01 AC 67 ms
21,980 KB
testcase_02 AC 67 ms
23,924 KB
testcase_03 AC 67 ms
21,884 KB
testcase_04 AC 66 ms
22,000 KB
testcase_05 AC 65 ms
21,884 KB
testcase_06 AC 68 ms
23,992 KB
testcase_07 AC 66 ms
21,816 KB
testcase_08 AC 67 ms
23,908 KB
testcase_09 AC 67 ms
22,040 KB
testcase_10 AC 66 ms
20,020 KB
testcase_11 AC 66 ms
23,872 KB
testcase_12 AC 66 ms
19,848 KB
testcase_13 AC 66 ms
19,896 KB
testcase_14 AC 67 ms
23,996 KB
testcase_15 AC 67 ms
21,760 KB
testcase_16 AC 66 ms
21,864 KB
testcase_17 AC 66 ms
21,936 KB
testcase_18 AC 67 ms
22,036 KB
testcase_19 AC 67 ms
22,036 KB
testcase_20 AC 68 ms
21,880 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;

public class Program
{
    public void Proc() {
        Reader.IsDebug = false;
        int[] inpt = Reader.ReadLine().Split(' ').Select(a=>int.Parse(a)).ToArray();

        int ans = 50*inpt[0] + (int)((50*inpt[0]) / (0.8m + 0.2m*inpt[1]));
        Console.WriteLine(ans);


    }


    public class Reader {
        public static bool IsDebug = true;
        private static System.IO.StringReader SReader;
        private static string InitText = @"

2 31


";
        public static string ReadLine() {
            if(IsDebug) {
                if(SReader == null) {
                    SReader = new System.IO.StringReader(InitText.Trim());
                }
                return SReader.ReadLine();
            } else {
                return Console.ReadLine();
            }
        }

    }
    public static void Main(string[] args)
    {
        Program prg = new Program();
        prg.Proc();
    }
}
0