結果
問題 | No.1256 連続整数列 |
ユーザー |
![]() |
提出日時 | 2020-10-16 21:51:16 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 1,612 bytes |
コンパイル時間 | 1,663 ms |
コンパイル使用メモリ | 166,256 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-21 02:45:52 |
合計ジャッジ時間 | 2,063 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 26 |
ソースコード
#include <bits/stdc++.h>#include <iostream>#include <queue>#include <stack>#include <vector>#include <string>#include <set>#include <map>#include <random>#define rep(i,n) for (int i = 0; i < (n); ++i)#define repp(i,n,m) for (int i = m; i < (n); ++i)#define repl(i,n) for (long long i = 0; i < (n); ++i)#define reppl(i,n,m) for (long long i = m; i < (n); ++i)//#define int long longusing namespace std;//#include <atcoder/all>//using namespace atcoder;using ll = long long;using ld = long double;using P = pair<int, int>;using PI = pair<pair<int,int>,int>;using PL = pair<long long, long long>;using Pxy = pair<double, double>;using Tiib = tuple<int, int, bool>;const int INF = 1001001007;const long long mod = 1000000007LL;const int MOD = 998244353;const ll inf = 1e18;template <typename AT>void printvec(vector<AT> &ar){rep(i,ar.size()-1) cout << ar[i] << " ";cout << ar[ar.size()-1] << endl;}template <typename Q>void printvvec(vector<vector<Q>> &ar){rep(i,ar.size()){rep(j,ar[0].size()-1) cout << ar[i][j] << " ";cout << ar[i][ar[0].size()-1] << endl;}}template <typename S>bool range(S a, S b, S x){return (a <= x && x < b);}void yes(){cout << "Yes" << endl;}void no (){cout << "No" << endl;}ll cel (ll a, ll b){if (a % b == 0) return a / b;else return a / b + 1;}ll gcds(ll a, ll b){ll c = a % b;while (c != 0){a = b;b = c;c = a % b;}return b;}int main(){int n; cin >> n;if (n > 1) cout << "YES" << endl;else cout << "NO" << endl;}