結果

問題 No.1423 Triangle of Multiples
ユーザー bluemeganebluemegane
提出日時 2021-03-13 07:46:34
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 100 ms / 2,000 ms
コード長 544 bytes
コンパイル時間 955 ms
コンパイル使用メモリ 110,496 KB
実行使用メモリ 27,776 KB
最終ジャッジ日時 2024-04-23 02:12:42
合計ジャッジ時間 1,811 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 24 ms
17,792 KB
testcase_01 AC 24 ms
18,176 KB
testcase_02 AC 100 ms
27,776 KB
testcase_03 AC 83 ms
23,936 KB
testcase_04 AC 81 ms
24,064 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System.Text;
using System;

public class Hello
{
    static void Main()
    {
        var sb = new StringBuilder();
        var T = int.Parse(Console.ReadLine().Trim());
        while (T-- > 0)
        {
            string[] line = Console.ReadLine().Trim().Split(' ');
            var a = long.Parse(line[0]);
            var b = long.Parse(line[1]);
            var c = long.Parse(line[2]);
            var t = a * b * c;
            sb.Append(string.Format("{0} {1} {2}", t, t, t) + "\n");
        }
        Console.Write(sb);
    }
}
0