結果
問題 | No.1114 足し算盆に返らず |
ユーザー |
|
提出日時 | 2020-11-13 01:29:39 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 6 ms / 2,000 ms |
コード長 | 269 bytes |
コンパイル時間 | 757 ms |
コンパイル使用メモリ | 72,240 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-22 19:50:01 |
合計ジャッジ時間 | 16,071 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 26 |
ソースコード
#include <iostream>#include <vector>#include <algorithm>#include <string>#include <cmath>using namespace std;int main(){int N;cin >> N;for(int i = N / 2 + 1; i <= N; i++){if(i != N) cout << i << ' ';else cout << i << endl;}}