結果

問題 No.445 得点
ユーザー mbanmban
提出日時 2016-12-02 01:03:17
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 59 ms / 2,000 ms
コード長 562 bytes
コンパイル時間 1,941 ms
コンパイル使用メモリ 100,784 KB
実行使用メモリ 22,952 KB
最終ジャッジ日時 2023-09-12 07:50:33
合計ジャッジ時間 4,224 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 57 ms
20,808 KB
testcase_01 AC 56 ms
20,836 KB
testcase_02 AC 57 ms
18,628 KB
testcase_03 AC 57 ms
20,820 KB
testcase_04 AC 57 ms
20,840 KB
testcase_05 AC 57 ms
22,788 KB
testcase_06 AC 58 ms
20,764 KB
testcase_07 AC 59 ms
22,776 KB
testcase_08 AC 58 ms
22,952 KB
testcase_09 AC 57 ms
20,824 KB
testcase_10 AC 57 ms
20,816 KB
testcase_11 AC 57 ms
20,780 KB
testcase_12 AC 57 ms
22,884 KB
testcase_13 AC 58 ms
22,680 KB
testcase_14 AC 59 ms
22,860 KB
testcase_15 AC 58 ms
20,864 KB
testcase_16 AC 57 ms
22,760 KB
testcase_17 AC 56 ms
18,788 KB
testcase_18 AC 56 ms
20,644 KB
testcase_19 AC 57 ms
20,864 KB
testcase_20 AC 57 ms
20,860 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.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text;
using System.Text.RegularExpressions;
using System.Linq;

class Magatro
{
    
    static void Main()
    {
        int A, B;
        string[] s = Console.ReadLine().Split(' ');
        A = int.Parse(s[0]);
        B = int.Parse(s[1]);
        Console.WriteLine(function(A, B));
       
    }
    static int function(int a, int b)
    {
        int q = a * 50;
        int w = 8 + 2 * b;
        return q + (q * 10 / w);
    }
}


0