結果

問題 No.2647 [Cherry 6th Tune A] Wind
ユーザー Maeda
提出日時 2025-08-28 09:09:07
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 485 bytes
コンパイル時間 4,402 ms
コンパイル使用メモリ 76,780 KB
実行使用メモリ 52,036 KB
最終ジャッジ日時 2025-08-28 09:09:19
合計ジャッジ時間 11,087 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
    	Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		for(int i = 0 ; i < n ; i ++){
			int day = scan.nextInt();
			long a = scan.nextLong();
			long[] list = new long[day];
			for(int j = 0 ; j < day ; j++){
				long p = scan.nextLong() / a;
				System.out.print(p);
				if(j != day -1 ){
					System.out.print(" ");
				}else{
					System.out.println("");
				}
			}
		}
    }
}
0