結果
問題 |
No.1256 連続整数列
|
ユーザー |
|
提出日時 | 2020-10-16 21:25:32 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 816 bytes |
コンパイル時間 | 1,600 ms |
コンパイル使用メモリ | 170,660 KB |
実行使用メモリ | 33,772 KB |
最終ジャッジ日時 | 2024-07-21 01:14:17 |
合計ジャッジ時間 | 2,769 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 WA * 15 |
ソースコード
#include "bits/stdc++.h" using namespace std; typedef pair<int,int>pii; typedef long long ll; typedef pair<ll,ll> pll; typedef __int128 lll; typedef vector<int> vi; typedef vector<ll> vl; mt19937 rng(chrono::system_clock::now().time_since_epoch().count()); const int mn=3e5+10; const ll inf=0x3f3f3f3f3f3f3f3f; const ll mod=1e9+7; const ll half=(mod+1)/2; const double PI=acos(-1); int ct=0; int col[mn]; int p[mn],nd[mn]; vector<int>rel[mn]; vector<int>g[mn],rg[mn],rnd[mn]; vector<int>v; vector<vector<int> >ans[2]; vector<int>rd[2]; int main(){ #ifndef ONLINE_JUDGE freopen("input.txt","r",stdin); freopen("output.txt","w",stdout); freopen("error.txt","w",stderr); #endif cin.tie(0); cin.sync_with_stdio(0); ll n; cin>>n; if(n>=6&&n%3==0)printf("YES"); else printf("NO"); }