提交时间:2026-02-05 07:36:31
运行 ID: 83978
#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; }