Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
95737 | 张运衡 | 08比较大小 | C++ | Compile Error | 0 MS | 0 KB | 144 | 2024-11-02 10:29:46 |
int main(){ int s,b; cin>>s; cin>>b; if(s<b){ cout<<s<<"<"<<b<<endl; } if (b<s){ cout<<b<<"<"<<s<<endl; } return 0; }
Main.cc: In function 'int main()': Main.cc:3:2: error: 'cin' was not declared in this scope cin>>s; ^ Main.cc:6:3: error: 'cout' was not declared in this scope cout<