3 条题解

  • 2
    @ 2022-5-27 21:16:50
    #include<iostream>
    using namespace std;
    long long q,w,e,r,t,y,u,i,o,p,d,f,g,h,j,k,l,z,x,c,v,b,n,m;
    string s;
    long long a[100000],as[100000],asd[100000];
    int main()
    {
    	cin>>a[1]>>a[2]>>a[3];
    	for(i=1;i<=3;i++){if(a[i]<60)k++;}
    	if(k==1) cout<<k; else cout<<k*0;
        return 0;
    }
    
    • 1
      @ 2023-10-7 18:27:26
      #include<iostream>
      using namespace std;
      int main(){
          int a,b,c;
          cin >> a >> b >> c;
          if((a<60&&b>=60&&c>=60)||(b<60&&a>=60&&c>=60)||(c<60&&b>=60&&a>=60)){
              cout << 1;
          }else{
              cout << 0;
          }
          return 0;
      }
      
      • 0
        @ 2023-10-22 11:23:40
        #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<<1;
            else if(a>=60&&b<60&&c>=60) cout<<1;
            else if(a>=60&&b>=60&&c<60) cout<<1;
            else cout<<0;
            return 0;
        }
        
        • 1

        信息

        ID
        6856
        时间
        1000ms
        内存
        128MiB
        难度
        1
        标签
        (无)
        递交数
        59
        已通过
        38
        上传者