| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 135575 | 李铭洋 | 07交换数据II | C++ | Compile Error | 0 MS | 0 KB | 182 | 2025-11-06 19:07:41 |
#include<iostream> #include<cstdio> using namespace std; int main() { double a,b,c; cin>>a>>b; if (a>b) { c==a; a==b; b==c; cout<<a<<" "<<b } return 0; }
Main.cc: In function 'int main()':
Main.cc:10:4: warning: statement has no effect [-Wunused-value]
c==a;
^
Main.cc:11:4: warning: statement has no effect [-Wunused-value]
a==b;
^
Main.cc:12:4: warning: statement has no effect [-Wunused-value]
b==c;
^
Main.cc:14:2: error: expected ';' before '}' token
}
^