結果

問題 No.1298 OR XOR
ユーザー 蜜蜂
提出日時 2020-11-27 21:26:02
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 240 bytes
コンパイル時間 1,663 ms
コンパイル使用メモリ 165,420 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-23 22:00:01
合計ジャッジ時間 3,545 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 4 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

using ll = long long;
#define fi first
#define se second

int main(){
  ll x;
  cin>>x;
  if(x%2==1){
    cout<<1<<" "<<x-1<<" "<<x<<endl;
  }
  else{
    cout<<2<<" "<<x-2<<" "<<x<<endl;
  }
}
0