結果
問題 | No.1114 足し算盆に返らず |
ユーザー |
|
提出日時 | 2020-12-21 21:08:47 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 6 ms / 2,000 ms |
コード長 | 225 bytes |
コンパイル時間 | 1,396 ms |
コンパイル使用メモリ | 164,808 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-21 13:06:35 |
合計ジャッジ時間 | 15,981 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 26 |
ソースコード
#include <bits/stdc++.h>using namespace std;int main() {int64_t n;cin >> n;for (int64_t i = n / 2 + 1; i <= n; i++) {if (i != n / 2 + 1) cout << ' ' << i;else cout << i;}cout << '\n';return 0;}