酷代码 AI
菜单
服务商

惊险冰面通关:体重、体力决定生死命运!

```cpp #include <iostream> using namespace std; int main() { int w, h; // w表示体重,h表示体力 cin >> w >> h; if (w <= 80) { if (h >= 60) { cout << "pass!" << endl; } else { cout << "can't pass!" << endl; } } else { if (h >= 90) { cout << "pass!" << endl; } else { cout << "can't pass!" << endl; } } return 0; } ``` ######[AI问答 | 152点数解答 | 2025-12-13 20:07:36]

相关提问
本站限时免费提问中
实用工具查看更多
Linux在线手册 [开发类]
Jquery在线手册 [开发类]
今日油价 [生活类]
图片互转base64 [开发类]
时间转换器 [开发类]