結果

問題 No.1499 羊が、何匹だっけ
ユーザー bluemeganebluemegane
提出日時 2021-05-07 22:45:04
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 54 ms / 2,000 ms
コード長 391 bytes
コンパイル時間 1,246 ms
コンパイル使用メモリ 63,192 KB
実行使用メモリ 22,820 KB
最終ジャッジ日時 2023-10-13 14:03:05
合計ジャッジ時間 2,764 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 53 ms
22,820 KB
testcase_01 AC 49 ms
18,732 KB
testcase_02 AC 53 ms
20,672 KB
testcase_03 AC 51 ms
18,736 KB
testcase_04 AC 51 ms
20,732 KB
testcase_05 AC 54 ms
20,748 KB
testcase_06 AC 54 ms
22,616 KB
testcase_07 AC 51 ms
20,772 KB
testcase_08 AC 50 ms
20,724 KB
testcase_09 AC 51 ms
20,648 KB
testcase_10 AC 53 ms
20,668 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;

public class hello
{
    static void Main()
    {
        var t = int.Parse(Console.ReadLine().Trim());
        var a = new int[t];
        for (int i = 0; i < t; i++)
        {
            string[] line = Console.ReadLine().Trim().Split(' ');
            line[2] = (int.Parse(line[2]) + 1).ToString();
            Console.WriteLine(string.Join(" ", line));
        }
    }
}
0