結果
| 問題 | No.1256 連続整数列 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2020-10-16 22:33:30 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 332 bytes | 
| コンパイル時間 | 537 ms | 
| コンパイル使用メモリ | 67,536 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-07-21 01:27:13 | 
| 合計ジャッジ時間 | 1,404 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 11 WA * 15 | 
ソースコード
#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 < 6) cout << "NO";
	else if(a % 3 == 0) cout << "YES";
	else cout << "NO\n";
}
            
            
            
        