結果
問題 |
No.1108 移調
|
ユーザー |
|
提出日時 | 2020-07-21 22:10:37 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 168 ms / 2,000 ms |
コード長 | 303 bytes |
コンパイル時間 | 2,878 ms |
コンパイル使用メモリ | 76,688 KB |
実行使用メモリ | 56,680 KB |
最終ジャッジ日時 | 2024-12-31 09:46:49 |
合計ジャッジ時間 | 6,735 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
import java.util.*; class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(),h=sc.nextInt(); int[] t=new int[n]; for(int i=0;i<n;i++)t[i]=sc.nextInt(); for(int a:t)System.out.print(a+h+" "); sc.close(); } }