Problem E: 成绩
[Creator : ]
Description
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
int ans = 0; //记录不合格的人数
if ( )
ans = ans + 1; // 如果 a 不合格,ans 加上 1。
if ( )
ans = ans + 1; // 如果 b 不合格,ans 加上 1。
cout << ans;
return 0;
}
Sample Input Copy
50 59
Sample Output Copy
2