結果
問題 |
No.1108 移調
|
ユーザー |
![]() |
提出日時 | 2020-07-10 21:24:37 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 454 bytes |
コンパイル時間 | 1,572 ms |
コンパイル使用メモリ | 165,068 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-11 07:36:41 |
合計ジャッジ時間 | 2,246 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include <bits/stdc++.h> #define rep(X,N) for(ll X = 0LL; X < (N); X++) #define ALL(V) (V).begin(),(V).end() using namespace std; typedef long long ll; const double PI = 3.1415926535897932384626; const ll MODN = 1000000007; const ll MODN2 = 998244353; const double EPS = 1e-10; int main(){ int n,h; cin >> n >> h; rep(i, n){ int tmp; cin >> tmp; cout << tmp + h << " "; } cout << endl; return 0; }