1 条题解

  • 0
    @ 2024-7-5 12:42:40
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
    	int y,s;
    	cin>>y>>s;
    	if(y<60&&s>=60){
    		cout<<"1";
    	}
    	else if(y>=60&&s<60){
    		cout<<"1";
    	} 
    	else{
    		cout<<"0";
    	} 
    	//(是恰好哦) 
    }
    

    【例22.1】 有一门课不及格的学生

    信息

    ID
    630
    时间
    1000ms
    内存
    64MiB
    难度
    5
    标签
    递交数
    42
    已通过
    18
    上传者