| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 137400 | 刘柠锐 | 07交换数据II | C++ | Compile Error | 0 MS | 0 KB | 169 | 2025-11-17 16:28:54 |
include <iostream> using namespace std; int main(){ int a,b; cin>>a>>b; if(a>b){ cout<<b<<" "<<a<<endl; } else { cout<<a<<" "<<b<<endl; } return 0; }
Main.cc:1:1: error: 'include' does not name a type include ^ Main.cc: In function 'int main()': Main.cc:5:2: error: 'cin' was not declared in this scope cin>>a>>b; ^ Main.cc:7:2: error: 'cout' was not declared in this scope cout<