結果

問題 No.445 得点
ユーザー mban
提出日時 2016-12-02 01:03:17
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 22 ms / 2,000 ms
コード長 562 bytes
コンパイル時間 2,230 ms
コンパイル使用メモリ 105,808 KB
実行使用メモリ 25,984 KB
最終ジャッジ日時 2024-06-29 20:44:19
合計ジャッジ時間 1,754 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 21
権限があれば一括ダウンロードができます
コンパイルメッセージ
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