結果

問題 No.1457 ツブ消ししとるなHard
ユーザー sushitorunasushitoruna
提出日時 2021-03-31 20:52:26
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 1,685 bytes
コンパイル時間 2,200 ms
コンパイル使用メモリ 197,968 KB
実行使用メモリ 4,500 KB
最終ジャッジ日時 2023-08-21 18:32:27
合計ジャッジ時間 3,153 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
using ll=long long;using vl=vector<ll>;
using vi=vector<int>;using vs=vector<string>;using vc=vector<char>;
using vvl=vector<vl>;using pl=pair<ll,ll>;using vvc=vector<vc>;
using vd=vector<double>;using vpl=vector<pl>;using vb=vector<bool>;
#define rep(i,r) for(ll i=0;i<(r);i++)
#define Rep(i,l,r) for(ll i=(l);i<(r);i++)
#define print(n) cout<<(n)<<endl
#define all(a)  (a).begin(),(a).end()
#define sortp(d) sort(all(d))
#define sortm(d) sort(d.rbegin(),d.rend())
//cout<<fixed<<setprecision(15)<<
//priority_queue<pl,vpl,greater<pl>>
void yn(bool b){print(b?"Yes":"No");exit(0);}
ll gcd(ll a,ll b) {if(b==0)return a;else return gcd(b,a%b);}
ll lcm(ll a,ll b){return a/gcd(a,b)*b;}
ll modpow(ll a,ll n,ll mod) {ll res=1;while(n>0)
{if(n&1)res=res*a%mod;a=a*a%mod;n >>= 1;}return res;}
ll modinv(ll a,ll mod){return modpow(a, mod - 2, mod);}
ll p=0,q=0,r=0;
ll dx[8]={1,0,-1,0,1,-1,-1,1},dy[8]={0,1,0,-1,1,1,-1,-1};
//ここから本質←ほんまか?
int main()
{
    ll n,m,x,y,z;cin>>n>>m>>x>>y>>z;
    bool bo=true;
    if(n<m)bo=false;
    if(y>=x)bo=false;
    if(n>50||y>50||z>50)bo=false;
    rep(i,n)
    {
        ll a;cin>>a;
        if(a>50)bo=false;
        if(y<a)p++;
    }
    if(p==0)bo=false;
    assert(bo);
}
//中1水コーダーになりたいんです...お願いします...後輩にカッコつけたいんです...マジで...
//てかもう中1終わるの流石にバグだろ
//↑それな
//劇団ひとり定期
//さみし()
//そういえばコーヒーは美味しいですね。魔剤なんか飲むなら黙ってコーヒー
//コメントの使い方ってこういう感じですよね!?
0