1 solutions

  • 1
    @ 2026-8-12 10:18:01

    点赞的是彭于晏

    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        int a,b,c;
        cin>>a>>b>>c;
        if(b*c>=a)
    	{
        	cout<<a;
    	}
    	else
    	{
    	    cout<<b*c; 
    	} 
        return 0;
    }
    

    Information

    ID
    2803
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    # Submissions
    57
    Accepted
    38
    Uploaded By