結果

問題 No.1337 Fair Otoshidama
ユーザー bluemeganebluemegane
提出日時 2021-01-16 10:25:52
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 58 ms / 2,000 ms
コード長 266 bytes
コンパイル時間 1,288 ms
コンパイル使用メモリ 69,776 KB
実行使用メモリ 23,584 KB
最終ジャッジ日時 2023-08-18 06:48:07
合計ジャッジ時間 4,364 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 57 ms
21,616 KB
testcase_01 AC 57 ms
21,536 KB
testcase_02 AC 57 ms
21,500 KB
testcase_03 AC 56 ms
21,384 KB
testcase_04 AC 57 ms
21,412 KB
testcase_05 AC 56 ms
21,372 KB
testcase_06 AC 58 ms
21,428 KB
testcase_07 AC 57 ms
23,480 KB
testcase_08 AC 57 ms
21,556 KB
testcase_09 AC 57 ms
23,468 KB
testcase_10 AC 58 ms
21,472 KB
testcase_11 AC 58 ms
21,428 KB
testcase_12 AC 58 ms
21,460 KB
testcase_13 AC 58 ms
21,556 KB
testcase_14 AC 58 ms
21,476 KB
testcase_15 AC 58 ms
23,528 KB
testcase_16 AC 57 ms
21,560 KB
testcase_17 AC 57 ms
23,532 KB
testcase_18 AC 58 ms
21,508 KB
testcase_19 AC 57 ms
21,384 KB
testcase_20 AC 58 ms
21,488 KB
testcase_21 AC 57 ms
23,512 KB
testcase_22 AC 57 ms
23,584 KB
testcase_23 AC 58 ms
21,420 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System.Linq;
using System;

public class Hello
{
    static void Main()
    {
        string[] line = Console.ReadLine().Trim().Split(' ');
        var a = Array.ConvertAll(line, long.Parse);
        Console.WriteLine(a.Sum() % 3 == 0 ? "Yes" : "No");
    }
}
0