Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
118415 | 成书骏 | 08判断区间 | C++ | Wrong Answer | 1 MS | 268 KB | 369 | 2025-04-29 22:03:35 |
#include <iostream> using namespace std; int main() { int a, x, y; cout << "请输入数a: "; cin >> a; cout << "请输入区间的起始值x: "; cin >> x; cout << "请输入区间的结束值y: "; cin >> y; if (a >= x && a <= y) { std::cout << "yes"; } else { std::cout << "no"; } return 0; }
------Input------
33 9 76
------Answer-----
yes
------Your output-----
请输入数a: 请输入区间的起始值x: 请输入区间的结束值y: yes