結果

問題 No.276 連続する整数の和(1)
ユーザー Yut176
提出日時 2017-10-09 17:59:57
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 252 bytes
コンパイル時間 1,042 ms
コンパイル使用メモリ 80,296 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-17 07:00:16
合計ジャッジ時間 1,525 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 7 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<map>
#include<string>
#include<vector>
#include<algorithm>
#include<numeric>
#include<cmath>
#include<queue>
using namespace std;

int main(){

  int n;
  cin >> n;
  cout << (n%2==1 ? n : 1) << endl;

  return 0;
}

// EOF
0