結果

問題 No.1591 Two Digits
ユーザー さかぽんさかぽん
提出日時 2021-07-09 21:21:22
言語 C#
(csc 3.9.0)
結果
AC  
実行時間 48 ms / 1,000 ms
コード長 460 bytes
コンパイル時間 3,950 ms
使用メモリ 14,644 KB
最終ジャッジ日時 2023-02-01 21:28:42
合計ジャッジ時間 6,015 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 45 ms
14,548 KB
testcase_01 AC 46 ms
14,572 KB
testcase_02 AC 48 ms
14,568 KB
testcase_03 AC 47 ms
14,620 KB
testcase_04 AC 45 ms
14,524 KB
testcase_05 AC 48 ms
14,488 KB
testcase_06 AC 44 ms
14,564 KB
testcase_07 AC 45 ms
14,516 KB
testcase_08 AC 45 ms
14,400 KB
testcase_09 AC 45 ms
14,432 KB
testcase_10 AC 45 ms
14,408 KB
testcase_11 AC 45 ms
14,532 KB
testcase_12 AC 46 ms
14,644 KB
testcase_13 AC 45 ms
14,636 KB
testcase_14 AC 46 ms
14,400 KB
testcase_15 AC 45 ms
14,484 KB
testcase_16 AC 46 ms
14,532 KB
testcase_17 AC 45 ms
14,576 KB
testcase_18 AC 45 ms
14,456 KB
testcase_19 AC 45 ms
14,544 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.Generic;
using System.Linq;

class A
{
	static int[] Read() => Array.ConvertAll(Console.ReadLine().Split(), int.Parse);
	static (int, int) Read2() { var a = Read(); return (a[0], a[1]); }
	static long[] ReadL() => Array.ConvertAll(Console.ReadLine().Split(), long.Parse);
	static void Main() => Console.WriteLine(Solve() ? "Yes" : "No");
	static bool Solve()
	{
		var s = Console.ReadLine();
		return s.Length == 2;
	}
}
0