Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
83978 sh25_shenpy 两变量交换数据 C++ 无测评数据 0 MS 0 KB 242 2026-02-05 07:36:31

Tests(0/0):


#include<iostream> using namespace std; template<typename T> void swapr(T &a,T &b){ T temp; temp=a; a=b; b=temp; } int main(){ int n,m; cin>>n>>m; swapr(n,m); cout<<n<<" "<<m; return 0; }