結果

問題 No.1114 足し算盆に返らず
ユーザー Ichimiya
提出日時 2020-07-18 00:36:02
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 6 ms / 2,000 ms
コード長 213 bytes
コンパイル時間 1,566 ms
コンパイル使用メモリ 166,884 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-30 06:54:32
合計ジャッジ時間 18,490 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define PI 3.14159265359
using namespace std;
const int64_t mod = 1e9 + 7;

int main() {
	int N;
	cin >> N;

	for (int i = 1; i < N + 1; i += 2) {
		cout << i << ' ';
	}
	
	cout << endl;
}
0