結果
| 問題 | No.1256 連続整数列 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-10-16 22:01:08 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| + 211µs | |
| コード長 | 450 bytes |
| 記録 | |
| コンパイル時間 | 1,291 ms |
| コンパイル使用メモリ | 249,732 KB |
| 実行使用メモリ | 9,352 KB |
| 最終ジャッジ日時 | 2026-07-12 12:25:13 |
| 合計ジャッジ時間 | 2,952 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}