| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 70448 | 石晋骁 | 07交换数据II | C++ | Compile Error | 0 MS | 0 KB | 216 | 2024-04-14 14:48:46 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin >> a >> b; if (a>b){ c = a; a = b; b = c; cout << a,b; } else{ cout << a << b; } return 0;
Main.cc: In function 'int main()':
Main.cc:10:14: warning: right operand of comma operator has no effect [-Wunused-value]
cout << a,b;
^
Main.cc:14:10: error: expected '}' at end of input
return 0;
^