Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
83053 sh25_huangse 交换变量 C++ Accepted 0 MS 244 KB 229 2026-01-20 19:40:11

Tests(1/1):


#include <iostream> using namespace std; void jiaohuan(int &a,int &b){ int temp; temp=a; a=b; b=temp; cout<<a<<" "<<b; } int main(){ int c,d; cin>>c>>d; jiaohuan(c,d); return 0; }


Judgement Protocol: