結果
問題 |
No.1298 OR XOR
|
ユーザー |
![]() |
提出日時 | 2020-11-27 21:30:46 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 661 bytes |
コンパイル時間 | 3,703 ms |
コンパイル使用メモリ | 251,952 KB |
最終ジャッジ日時 | 2025-01-16 06:31:53 |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 5 WA * 8 |
ソースコード
#include <bits/stdc++.h> #include <atcoder/all> #define rep(i, n) for(long long int i = 0; i < n; ++i) #define _rep(i, m, n) for(long long int i = m; i < n; ++i) using namespace std; using namespace atcoder; typedef long long ll; typedef pair<int, int> P; const ll mod = 1000000007; const int dx[4] = {1, 0, -1, 0}; const int dy[4] = {0, 1, 0, -1}; string Yes[2] = {"Yes", "No"}; /*------------------------------------------------------------------*/ int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); ll n; cin >> n; if(n <= 2) cout << -1 << " " << -1 << " " << -1 << endl; else cout << 1 << " " << n - 1 << " " << n << endl; }