結果

問題 No.538 N.G.S.
ユーザー bluemeganebluemegane
提出日時 2018-09-12 12:35:25
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 397 bytes
コンパイル時間 1,977 ms
コンパイル使用メモリ 98,876 KB
実行使用メモリ 22,868 KB
最終ジャッジ日時 2023-09-08 18:23:56
合計ジャッジ時間 7,023 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 59 ms
20,772 KB
testcase_01 AC 58 ms
22,688 KB
testcase_02 AC 58 ms
22,672 KB
testcase_03 AC 58 ms
20,616 KB
testcase_04 AC 56 ms
20,656 KB
testcase_05 AC 56 ms
20,704 KB
testcase_06 AC 58 ms
20,596 KB
testcase_07 WA -
testcase_08 AC 57 ms
20,640 KB
testcase_09 AC 58 ms
20,840 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 59 ms
20,708 KB
testcase_18 AC 58 ms
20,732 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 AC 58 ms
20,828 KB
testcase_33 AC 58 ms
20,708 KB
testcase_34 AC 58 ms
20,680 KB
testcase_35 AC 58 ms
18,652 KB
testcase_36 AC 58 ms
22,736 KB
testcase_37 AC 58 ms
20,752 KB
testcase_38 AC 59 ms
22,680 KB
testcase_39 AC 57 ms
20,736 KB
testcase_40 WA -
testcase_41 WA -
testcase_42 WA -
testcase_43 WA -
testcase_44 AC 57 ms
22,820 KB
testcase_45 AC 57 ms
22,716 KB
testcase_46 WA -
testcase_47 AC 57 ms
20,632 KB
testcase_48 AC 57 ms
20,648 KB
testcase_49 WA -
testcase_50 AC 57 ms
20,628 KB
testcase_51 AC 58 ms
20,716 KB
testcase_52 WA -
testcase_53 WA -
testcase_54 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

public class Hello
{
    public static void Main()
    {
        string[] line = Console.ReadLine().Trim().Split(' ');
        var a = int.Parse(line[0]);
        var b = int.Parse(line[1]);
        var c = int.Parse(line[2]);
        var r = (c - b) / (b - a);
        var d = c - r * b;
        var ans = ((c - b) * (c - b)) / (b - a) + c;
        Console.WriteLine(ans);
    }
}
0