結果

問題 No.2737 Compound Word
ユーザー 能勢翔能勢翔
提出日時 2024-05-02 18:25:45
言語 C#
(.NET 8.0.203)
結果
WA  
実行時間 -
コード長 274 bytes
コンパイル時間 15,896 ms
コンパイル使用メモリ 166,160 KB
実行使用メモリ 183,532 KB
最終ジャッジ日時 2024-05-02 18:26:04
合計ジャッジ時間 12,360 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 49 ms
29,056 KB
testcase_01 WA -
testcase_02 AC 48 ms
29,056 KB
testcase_03 AC 43 ms
29,200 KB
testcase_04 AC 46 ms
29,184 KB
testcase_05 AC 48 ms
29,044 KB
testcase_06 AC 46 ms
28,928 KB
testcase_07 AC 48 ms
29,056 KB
testcase_08 AC 54 ms
29,184 KB
testcase_09 AC 45 ms
28,928 KB
testcase_10 AC 43 ms
29,440 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 51 ms
29,152 KB
testcase_22 AC 46 ms
29,440 KB
testcase_23 AC 44 ms
29,152 KB
testcase_24 AC 46 ms
29,152 KB
testcase_25 AC 45 ms
28,928 KB
testcase_26 WA -
testcase_27 WA -
testcase_28 AC 46 ms
183,532 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (100 ms)。
MSBuild のバージョン 17.9.6+a4ecab324 (.NET)
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

diff #

using System;
using System.Collections.Generic;
					
public class Program
{
	public static void Main()
	{
		int n = int.Parse(Console.ReadLine());
		
		var S = new List<string>(n);
		for (int i=0; i<n; i++) S.Add(Console.ReadLine());
		
		Console.WriteLine(n * (n-1));
	}
}
0