c++输入两个整数a和b输出ab的值。输入 两个整数a和b。输出 a b的值。输入样例1 1 3输出样例1 0输入样例2 3 2输出样例2 1用时内存 1000MS100MB
#include
int main() { int a, b; cin >> a >> b;
int result = (a > b) ? 1 : 0;
cout << result << endl;
return 0;
}
原文地址: https://www.cveoy.top/t/topic/ie0d 著作权归作者所有。请勿转载和采集!