Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
141817 mairuisheng 舞林大会 C++ 通过 100 0 MS 252 KB 227 2024-04-06 11:27:52

Tests(10/10):


#include<bits/stdc++.h> using namespace std; long long n,m,k; int main() { cin>>n>>m>>k; if((n+k)%n==0)cout<<n<<" "; else cout<<(n+k)%n<<" "; if((m+k)%m==0)cout<<m<<endl; else cout<<(m+k)%m<<endl; return 0; }


测评信息: