14 条题解

  • 1
    @ 2025-12-14 20:05:54
    #include<iostream>
    #include<cstdio>
    #include<cctype>
    #include<string.h>
    #include<math.h>
    #include<cmath>
    #include<algorithm>
    #include<iomanip>
    using namespace std;
    int main()
    {
    	int c,m;
    	cin>>c>>m;
    	if((c<60&&m>=60)||(c>=60&&m<60))
    	{
    		cout<<"1";	
    	} 
    	else
    	{
    		cout<<"0";
    	}
    	return 0;
    }
    
    
    
    • 1
      @ 2025-5-24 20:03:05
      
      #include <iostream>
      using namespace std;
      
      int main() {
          int chinese, math;
          cin >> chinese >> math;
          
          // 判断是否恰好一门不及格
          if((chinese < 60 && math >= 60) || (chinese >= 60 && math < 60)) {
              cout << 1;
          } else {
              cout << 0;
          }
          return 0;
      }
      
      
      • @ 2025-5-24 20:04:29

        这么简单的题,题解师们写不出100ac?

    • 0
      @ 2025-7-8 16:14:49

      #include

      using namespace std;

      int main()

      {

      int a,b;
      cin >> a >> b;
      if (a < 60 && b >= 60)
      

      { cout << 1;

      }

      else if (a >= 60 && b < 60)
      

      { cout << 1; } else cout << 0; return 0; }

      • 0
        @ 2025-5-26 14:13:02

        #include using namespace std; int main() { int a,b; cin>>a>>b; if((a<60&&b>=60)||(a>=60&&b<60)){ cout <<1; }else{ cout <<0; } return 0; }

        • 0
          @ 2025-4-29 13:04:36

          #include < iostream> using namespace std; int main() { int y , s; cin >> y >> s; if( y <60&&s>=60 ||y>=60&&s<60) cout << 1; else cout << 0; }

          • 0
            @ 2025-4-29 13:03:50

            #include < iostream > using namespace std; int main() { int y , s; cin >> y >> s; if( y <60&&s>=60 ||y>=60&&s<60) { cout << 1; } else { cout << 0; } return 0; }

            • 0
              @ 2025-4-19 22:35:55

              #include <bits/stdc++.h>

              using namespace std;

              int main() { int a, b;

              cin >> a >> b;
              
              if (a < 60 && b >= 60)
              {
                  cout << 1;
              }
              else if (a >= 60 && b < 60)
              {
                  cout << 1;
              }
              else
              {
                  cout << 0;
              }
              
              return 0;
              

              }

              • 0
                @ 2025-4-1 21:02:12

                #include<stdio.h>

                #include

                using namespace std;

                int main()

                {

                int a,b;
                
                cin>>a>>b;
                
                if(b<60 && a>=60 || a<60 && b>=60)
                
                {
                
                	cout<<"1";
                
                }
                
                else
                
                {
                
                	cout<<"0";
                
                }
                

                }

                • 0
                  @ 2024-11-24 18:47:21

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

                  • 0
                    @ 2023-6-28 10:33:46
                    #include <iostream>
                    #include <stdio.h>
                    #include <iomanip>
                    #include <math.h>
                    using namespace std;
                    const int N = 1e6 + 10;
                    const int INF = 0x3f3f3f3f;
                    int main()
                    {
                    	int y , s;
                    	cin >> y >> s;
                    	if( y >= 60 && s >= 60)
                    	{
                    		cout << 0;
                    	}
                    	else
                    	{
                    		cout << 1;
                    	}
                    	return 0;
                    }
                    
                    • 0
                      @ 2022-7-8 14:49:48

                      /crl(陈儒乐)/

                      #include<bits/stdc++.h>//网上查到的万能头//

                      using namespace std;

                      int main()

                      {

                      int a,b;
                      
                      cin >> a >> b;
                      
                      if(a < 60 || b < 60)
                      
                          cout << '1';
                      
                      else
                      
                          cout << '0';
                      

                      }

                      • 0
                        @ 2022-1-2 15:18:41
                        #include <stdio.h>
                        #include <iostream>
                        #include <math.h>
                        using namespace std;
                        int main()
                        {
                        	int n;
                        	cin >> n;
                        	if(n>=60 && n<=100)
                        	{
                        		cout <<"0";
                        
                        
                        	}
                        	else
                        	{
                        		cout<<"1";
                        	}
                        
                        
                        
                        
                        
                        
                        
                        
                        }
                        
                        • -1
                          @ 2022-9-3 13:37:47
                          #include <bits/stdc++.h>
                          
                          using namespace std;
                          
                          int main()
                          {
                              int a, b;
                          
                              cin >> a >> b;
                          
                              if (a < 60 && b > 60)
                              {
                                  cout << 1;
                              }
                              else if (a > 60 && b < 60)
                              {
                                  cout << 1;
                              }
                              else
                              {
                                  cout << 0;
                              }
                          
                              return 0;
                          }
                          
                          • -1
                            @ 2022-7-2 16:54:49

                            #include<stdio.h> #include using namespace std; int main() { int a,b; cin>>a>>b; if(a<60&&b>=60) { cout<<1<<endl; }else if(a>=60&&b<60) { cout<<1<<endl; }else { cout<<0<<endl; } }

                            • 1

                            信息

                            ID
                            888
                            时间
                            1000ms
                            内存
                            128MiB
                            难度
                            5
                            标签
                            递交数
                            1451
                            已通过
                            580
                            上传者