12 条题解

  • 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-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
                        难度
                        4
                        标签
                        递交数
                        1210
                        已通过
                        517
                        上传者