結果
問題 |
No.1256 連続整数列
|
ユーザー |
|
提出日時 | 2020-10-16 22:01:08 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 450 bytes |
コンパイル時間 | 1,792 ms |
コンパイル使用メモリ | 215,420 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-06-20 10:43:14 |
合計ジャッジ時間 | 2,902 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 40 |
ソースコード
// g++ B.cpp && ./a.out #define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i, a, b) for (int i = a; i < (int)(b); i++) #define all(v) v.begin(), v.end() using ll = long long; const ll INF = 1e18; // 変数定義 ll ans, cnt, N, a, n, m; int main() { cin >> N; if (N == 1) { cout << "NO" << endl; } else { cout << "YES" << endl; } return 0; }