結果

問題 No.1337 Fair Otoshidama
ユーザー さかぽんさかぽん
提出日時 2021-02-19 10:41:50
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 57 ms / 2,000 ms
コード長 256 bytes
コンパイル時間 5,493 ms
コンパイル使用メモリ 102,864 KB
実行使用メモリ 23,624 KB
最終ジャッジ日時 2023-10-13 23:11:19
合計ジャッジ時間 8,101 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 50 ms
21,408 KB
testcase_01 AC 52 ms
23,516 KB
testcase_02 AC 53 ms
19,480 KB
testcase_03 AC 52 ms
23,516 KB
testcase_04 AC 51 ms
21,456 KB
testcase_05 AC 54 ms
23,532 KB
testcase_06 AC 52 ms
21,428 KB
testcase_07 AC 51 ms
23,464 KB
testcase_08 AC 52 ms
21,472 KB
testcase_09 AC 53 ms
21,400 KB
testcase_10 AC 53 ms
23,608 KB
testcase_11 AC 51 ms
21,540 KB
testcase_12 AC 53 ms
19,420 KB
testcase_13 AC 53 ms
21,400 KB
testcase_14 AC 53 ms
21,516 KB
testcase_15 AC 52 ms
21,388 KB
testcase_16 AC 55 ms
23,524 KB
testcase_17 AC 54 ms
21,576 KB
testcase_18 AC 55 ms
21,452 KB
testcase_19 AC 53 ms
21,472 KB
testcase_20 AC 51 ms
21,468 KB
testcase_21 AC 54 ms
23,624 KB
testcase_22 AC 52 ms
21,476 KB
testcase_23 AC 57 ms
21,412 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.Linq;

class C
{
	static long[] ReadL() => Array.ConvertAll(Console.ReadLine().Split(), long.Parse);
	static void Main() => Console.WriteLine(Solve() ? "Yes" : "No");
	static bool Solve()
	{
		return ReadL().Sum() % 3 == 0;
	}
}
0