結果
| 問題 | No.1256 連続整数列 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-10-16 22:30:52 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 313 bytes |
| 記録 | |
| コンパイル時間 | 589 ms |
| コンパイル使用メモリ | 85,212 KB |
| 実行使用メモリ | 7,976 KB |
| 最終ジャッジ日時 | 2026-04-03 02:58:22 |
| 合計ジャッジ時間 | 1,985 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge5_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 WA * 26 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
typedef long long ll;
#define debug(x) cerr << "[" << #x << "] : " << x << "\n";
int main()
{
ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
ll a;
cin >> a;
if((a - 3) % 3 == 0) cout << "YES\n";
else cout << "NO\n";
}