救我

wc007 C++ 2025-01-17 19:45:08 5

#include <bits/stdc++.h> using namespace std; int main(){ char a; cin>>a; if(a=root de yong hu ming) cout<<"root"; else cout<<"Go ask root yourself"; }

0

共 2 条回复

wc007 C++

自己编译通过再传上来,OK?编译有错了。

root 站长

string, char 只能读单个字符