2 solutions

  • 0
    @ 2025-8-26 11:37:55
    #include <bits/stdc++.h>
    using namespace std;
    int a, b, c;
    int main()
    {
    	cin >> a >> b >> c;
    	if (a >= 60 && b >= 60 && c >= 60)
    	{
    		cout << "pass";
    	}
    	else
    	{
    		cout << "no";
    	}
    	return 0;
    }
    
    • 0
      @ 2025-8-26 8:54:16
      int abc;
      输入ABC;
      if判断是否pass
      #include<bits/stdc++.h>
      using namespace std;
      int main(){
      int a,b,c;
      cin>>a>>b>>c;
      if(a<60||b<60||c<60){cout<<"no";}
      else{cout<<"pass";}
      return 0;
      }
      
      • 1

      Information

      ID
      997
      Time
      1000ms
      Memory
      256MiB
      Difficulty
      6
      Tags
      # Submissions
      40
      Accepted
      13
      Uploaded By