結果

問題 No.1119 Division 3
ユーザー bluemeganebluemegane
提出日時 2020-07-25 11:33:51
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 56 ms / 1,000 ms
コード長 362 bytes
コンパイル時間 1,890 ms
コンパイル使用メモリ 64,592 KB
実行使用メモリ 24,584 KB
最終ジャッジ日時 2023-09-09 08:01:58
合計ジャッジ時間 3,293 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
20,716 KB
testcase_01 AC 56 ms
20,708 KB
testcase_02 AC 55 ms
20,804 KB
testcase_03 AC 55 ms
20,708 KB
testcase_04 AC 56 ms
20,824 KB
testcase_05 AC 55 ms
22,748 KB
testcase_06 AC 56 ms
22,744 KB
testcase_07 AC 56 ms
20,664 KB
testcase_08 AC 56 ms
22,656 KB
testcase_09 AC 55 ms
22,652 KB
testcase_10 AC 55 ms
20,696 KB
testcase_11 AC 54 ms
20,604 KB
testcase_12 AC 55 ms
20,608 KB
testcase_13 AC 55 ms
18,444 KB
testcase_14 AC 55 ms
20,504 KB
testcase_15 AC 55 ms
20,704 KB
testcase_16 AC 55 ms
20,600 KB
testcase_17 AC 56 ms
24,584 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;

public class Hello
{
    static void Main()
    {
        getAns();
    }
    static void getAns()
    {
        string[] line = Console.ReadLine().Trim().Split(' ');
        for (int i = 0; i < 3; i++)
        {
            if (int.Parse(line[i]) % 3 == 0) { Console.WriteLine("Yes"); return; }
        }
        Console.WriteLine("No");
    }
}
0