提出 #73671957


ソースコード 拡げる

#include <bits/stdc++.h>
#define code using 
#define by namespace
#define stoneshadow std
code by stoneshadow;
typedef long long ll; 
#define caseT ll t;cin>>t;while(t--)
#define rd(x) scanf("%lld", &(x))
#define all(v) (v).begin(), (v).end()
const ll MOD=1e9+7;
const ll mxn=114514;
const ll mnn=114;

void yes(){
	cout<<"Yes"<<endl;
}
void no(){
	cout<<"No"<<endl;
}
inline ll read(){
    ll x=0,f=1;char ch=getchar();
    while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();}
    while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
    return x*f;
}
ll gcd(ll a,ll b){
	if(min(a,b)==0)return max(a,b);
	if(a>b){
		a%=b;
		return gcd(a,b);
	}
	else{
		b%=a;
		return gcd(b,a);
	}
} 
long long qpow(ll base,ll p,ll K){//K=mod p=指数 base =底数 
	long long ans=1,tmp=base;
	while(p!=0){
		if(p&1){
			ans=(ans%K*tmp%K)%K;
		} 
		tmp=(tmp%K*tmp%K)%K;
		p=p>>1;
	} 
	ans=ans%K;
	return ans;
} 
void solve(){
}
int main(){
	ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
    //caseT solve();
    int n,m;cin>>n>>m;
    if((n+1)/m>1)yes();else no();
    
    return 0;
}

提出情報

提出日時
問題 A - Seats 2
ユーザ stone_shadow
言語 C++23 (GCC 15.2.0)
得点 100
コード長 1130 Byte
結果 AC
実行時間 1 ms
メモリ 3636 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 4
AC × 17
セット名 テストケース
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, 01_test_00.txt, 01_test_01.txt, 01_test_02.txt, 01_test_03.txt, 01_test_04.txt, 01_test_05.txt, 01_test_06.txt, 01_test_07.txt, 01_test_08.txt, 01_test_09.txt, 01_test_10.txt, 01_test_11.txt, 01_test_12.txt
ケース名 結果 実行時間 メモリ
00_sample_00.txt AC 1 ms 3488 KiB
00_sample_01.txt AC 1 ms 3528 KiB
00_sample_02.txt AC 1 ms 3556 KiB
00_sample_03.txt AC 1 ms 3636 KiB
01_test_00.txt AC 1 ms 3548 KiB
01_test_01.txt AC 1 ms 3488 KiB
01_test_02.txt AC 1 ms 3552 KiB
01_test_03.txt AC 1 ms 3548 KiB
01_test_04.txt AC 1 ms 3544 KiB
01_test_05.txt AC 1 ms 3548 KiB
01_test_06.txt AC 1 ms 3564 KiB
01_test_07.txt AC 1 ms 3552 KiB
01_test_08.txt AC 1 ms 3540 KiB
01_test_09.txt AC 1 ms 3524 KiB
01_test_10.txt AC 1 ms 3540 KiB
01_test_11.txt AC 1 ms 3488 KiB
01_test_12.txt AC 1 ms 3636 KiB