結果

問題 No.1108 移調
ユーザー snrnsidy
提出日時 2021-06-14 02:25:00
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 6 ms / 2,000 ms
コード長 239 bytes
コンパイル時間 2,140 ms
コンパイル使用メモリ 191,352 KB
最終ジャッジ日時 2025-01-22 08:08:13
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main(void)
{
	cin.tie(0);
	ios::sync_with_stdio(false);
	
	int n, h, t;
	cin >> n >> h;

	for (int i = 0; i < n; i++)
	{
		cin >> t;
		cout << t + h << ' ';
	}
	cout << '\n';
	return 0;
}
0