結果

問題 No.1337 Fair Otoshidama
ユーザー keymoonkeymoon
提出日時 2021-01-15 21:40:01
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 60 ms / 2,000 ms
コード長 476 bytes
コンパイル時間 5,001 ms
コンパイル使用メモリ 103,136 KB
実行使用メモリ 23,872 KB
最終ジャッジ日時 2023-08-17 16:26:44
合計ジャッジ時間 4,378 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
23,872 KB
testcase_01 AC 57 ms
23,868 KB
testcase_02 AC 59 ms
23,856 KB
testcase_03 AC 56 ms
19,708 KB
testcase_04 AC 58 ms
21,700 KB
testcase_05 AC 59 ms
21,828 KB
testcase_06 AC 59 ms
23,872 KB
testcase_07 AC 58 ms
21,848 KB
testcase_08 AC 59 ms
19,844 KB
testcase_09 AC 59 ms
21,872 KB
testcase_10 AC 59 ms
23,860 KB
testcase_11 AC 57 ms
21,768 KB
testcase_12 AC 58 ms
21,828 KB
testcase_13 AC 59 ms
23,800 KB
testcase_14 AC 58 ms
21,824 KB
testcase_15 AC 59 ms
23,844 KB
testcase_16 AC 60 ms
21,732 KB
testcase_17 AC 59 ms
22,000 KB
testcase_18 AC 59 ms
23,796 KB
testcase_19 AC 60 ms
19,896 KB
testcase_20 AC 60 ms
23,844 KB
testcase_21 AC 59 ms
21,696 KB
testcase_22 AC 58 ms
21,728 KB
testcase_23 AC 58 ms
21,852 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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.Diagnostics;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using static System.Math;
public static class P
{
    public static void Main()
    {
        var xyz = Console.ReadLine().Split().Select(long.Parse).ToArray();
        Console.WriteLine(xyz.Sum() % 3 == 0 ? "Yes" : "No");
    }
}
0