酷代码 AI
菜单
服务商

只用<iostream> 回答篇幅:简单明了

```cpp #include <iostream> int main() { char c; bool hasZero = false; while (std::cin.get(c)) { if (c == '0') { hasZero = true; break; } if (c == '\n') { break; } } std::cout << (hasZero ? "yes" : "no"); return 0; } ``` [2026-02-08 14:23:42 | AI问答 | 108点数解答]

相关提问
发财导航,免费问AI
实用工具查看更多