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