Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
141679 蔡悠然 舞林大会 C++ 解答错误 0 0 MS 252 KB 170 2024-04-06 09:54:06

Tests(0/10):


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


测评信息: