結果

問題 No.1499 羊が、何匹だっけ
ユーザー Maeda
提出日時 2025-08-26 09:04:21
言語 Java
(openjdk 23)
結果
AC  
実行時間 205 ms / 2,000 ms
コード長 413 bytes
コンパイル時間 2,302 ms
コンパイル使用メモリ 78,256 KB
実行使用メモリ 49,184 KB
最終ジャッジ日時 2025-08-26 09:04:29
合計ジャッジ時間 5,451 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int x = scan.nextInt();
		for(int i = 0 ; i < x ; i++){
			//String Hitsuji = scan.next();
			//String ga = scan.next();
			//int n = scan.nextInt()+1;
			//String hiki
			System.out.println(scan.next() + " " + scan.next() + " " + (scan.nextInt()+1) + " " + scan.next());
		}

    }
}
0