编写题解 2787: 有一门课不及格的学生
摘要:解题思路:注意事项:参考代码:score = list(map(int, input().split()))
if min(score) < 60:
    if max(score) >= 60…… 
有一门科目不及格的学生
摘要:解题思路:注意事项:注意这里题目说的是只有一门不及格参考代码:#include<stdio.h>int main(){    int a,b;    scanf("%d%d",&a,&b);    i…… 
初学布尔表达式,你也可以!
摘要:解题思路:              输出1or0,脱离判断语句,考虑布尔值。              这边用异或运算,一真一假为真。        & 
题解 2787: 有一门课不及格的学生
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int a,b;    cin>>a>>b;    if(a>=…… 
2787: 有一门课不及格的学生
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int x,y;    cin >> x >>y ;…… 
题解 2787: 有一门课不及格的学生
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int a,b;    cin>>a>>b;    …… 
2787: 有一门课不及格的学生
摘要:解题思路:注意事项:有一门课几个另一门课一定不及格参考代码:#include <iostream>using namespace std;int main(){    int x,y;    cin …… 
这学生难道不得用我的ojbk函数(微笑)
摘要:代码附在下面,函数在下面
根据不及格为假,及格为真,***采用异或***,不同输出真,相同输出假,刚好符合题意。
#include
int main(void)
{……