結果
問題 |
No.1256 連続整数列
|
ユーザー |
|
提出日時 | 2020-10-16 22:00:34 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 597 bytes |
コンパイル時間 | 1,522 ms |
コンパイル使用メモリ | 167,680 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-21 01:24:40 |
合計ジャッジ時間 | 2,474 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 26 |
ソースコード
#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; int main(){ #ifdef LOCAL 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%3==0&&n>=6)printf("Yes"); else printf("No"); }