結果
| 問題 |
No.1108 移調
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-11-27 13:03:16 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 240 bytes |
| コンパイル時間 | 2,048 ms |
| コンパイル使用メモリ | 190,756 KB |
| 最終ジャッジ日時 | 2025-01-16 06:03:50 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
ll n, h;
cin >> n >> h;
while (n--) {
int t;
cin >> t;
cout << t + h << (n > 0 ? ' ' : '\n');
}
}