結果
問題 |
No.1499 羊が、何匹だっけ
|
ユーザー |
|
提出日時 | 2023-03-27 11:59:51 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 25 ms / 2,000 ms |
コード長 | 484 bytes |
コンパイル時間 | 773 ms |
コンパイル使用メモリ | 110,676 KB |
実行使用メモリ | 25,932 KB |
最終ジャッジ日時 | 2024-09-19 10:11:13 |
合計ジャッジ時間 | 1,613 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 10 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Collections.Generic; using System.Numerics; class Program { static void Main() { List<string> outputs = new List<string>(); int T = int.Parse(Console.ReadLine()); for(int X = 0; X < T; X++) { string[] Inputs = Console.ReadLine().Split(' '); outputs.Add($"{Inputs[0]} {Inputs[1]} {int.Parse(Inputs[2]) + 1} {Inputs[3]}"); } Console.WriteLine(string.Join("\n", outputs)); } }