結果

問題 No.485 方程式のお勉強
ユーザー claw88claw88
提出日時 2017-02-23 02:26:24
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 27 ms / 2,000 ms
コード長 321 bytes
コンパイル時間 807 ms
コンパイル使用メモリ 113,948 KB
実行使用メモリ 28,064 KB
最終ジャッジ日時 2024-04-14 22:41:22
合計ジャッジ時間 2,067 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
21,944 KB
testcase_01 AC 27 ms
23,912 KB
testcase_02 AC 25 ms
24,036 KB
testcase_03 AC 26 ms
24,036 KB
testcase_04 AC 25 ms
23,844 KB
testcase_05 AC 26 ms
26,008 KB
testcase_06 AC 25 ms
23,912 KB
testcase_07 AC 25 ms
23,840 KB
testcase_08 AC 25 ms
24,164 KB
testcase_09 AC 25 ms
21,820 KB
testcase_10 AC 25 ms
26,008 KB
testcase_11 AC 26 ms
24,240 KB
testcase_12 AC 25 ms
24,036 KB
testcase_13 AC 26 ms
28,064 KB
testcase_14 AC 25 ms
23,780 KB
testcase_15 AC 25 ms
24,036 KB
testcase_16 AC 25 ms
23,784 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using static System.Console;

namespace yuki_485_csharp
{
    class Program
    {
        static void Main(string[] args)
        {
            var T = ReadLine().Split();
            var A = int.Parse(T[0]);
            var B = int.Parse(T[1]);
            WriteLine((B % A == 0) ? $"{B / A}" : "NO");
        }
    }
}
0