| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 68866 | 李老师 | 比较大小 | C++ | Compile Error | 0 MS | 0 KB | 185 | 2024-03-27 14:20:59 |
#include<iostream> using namespace std; void jh(int *a,*b){ int tmp=*a; *a=*b; *b=tmp; } int main(){ int n,m,t; cin>>n>>m; jh(&n,&m); return 0; }
Main.cc:3:16: error: expected identifier before '*' token
void jh(int *a,*b){
^
Main.cc: In function 'int main()':
Main.cc:9:13: warning: unused variable 't' [-Wunused-variable]
int n,m,t;
^