結果
| 問題 | No.1499 羊が、何匹だっけ | 
| コンテスト | |
| ユーザー |  ks2m | 
| 提出日時 | 2021-05-07 21:21:40 | 
| 言語 | Java (openjdk 23) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 253 ms / 2,000 ms | 
| コード長 | 392 bytes | 
| コンパイル時間 | 2,233 ms | 
| コンパイル使用メモリ | 76,208 KB | 
| 実行使用メモリ | 43,592 KB | 
| 最終ジャッジ日時 | 2024-09-15 09:06:25 | 
| 合計ジャッジ時間 | 5,169 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 10 | 
ソースコード
import java.util.Scanner;
public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		for (int i = 0; i < n; i++) {
			String s1 = sc.next();
			String s2 = sc.next();
			int s3 = sc.nextInt() + 1;
			String s4 = sc.next();
			System.out.println(s1 + " " + s2 + " " + s3 + " " + s4);
		}
		sc.close();
	}
}
            
            
            
        