C++ 编程题:禾木摘果子 日期: 2026-10-01 标签: 常规 #include using namespace std; int main() { int n, res = 0; cin >> n; for (int i = 0; i < n; i++) { int h; cin >> h; if (h <= 175) res++; else if (h <= 175 + 20) res++; } cout << res << endl; return 0; } 原文地址: https://www.cveoy.top/t/topic/oiXx 著作权归作者所有。请勿转载和采集! 免费AI点我,无需注册和登录