1 条题解

  • 1
    @ 2025-1-3 19:57:51
    #include<bits/stdc++.h>
    #define ll long long
    using namespace std;
    const int N=1e6+10;
    const int INF=0x3f3f3f3f;
    inline int 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-48;ch=getchar();}return x*f;}
    int main(){
    	ll a,b,k;
    	cin>>a>>b>>k;
    	if(b*k==a)cout<<"YES";
    	else cout<<"NO";
    }
    
    
    • 1

    信息

    ID
    3142
    时间
    1000ms
    内存
    256MiB
    难度
    1
    标签
    递交数
    101
    已通过
    36
    上传者