結果
問題 |
No.1108 移調
|
ユーザー |
|
提出日時 | 2021-09-04 16:48:15 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 236 bytes |
コンパイル時間 | 2,189 ms |
コンパイル使用メモリ | 191,308 KB |
最終ジャッジ日時 | 2025-01-24 07:57:36 |
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define rep(i,l,r) for(int i=(l);i<(r);++i) typedef long long ll; int main(){ int n,h; cin>>n>>h; rep(i,0,n){ int t; cin>>t; cout<<t+h; if(i==n-1) cout<<endl; else cout<<" "; } }