Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
2541 D班-陈颖钧 太弱的好哥们 C++ 解答错误 0 1 MS 268 KB 248 2024-12-15 17:24:08

Tests(0/7):


#include<bits/stdc++.h> using namespace std; int main(){ int r,x,n,m,i; cin>>r>>m>>n>>x; for(i=0;i<x;i++){ if(m+1<=3){ m++; }else{ m=1; n++; } } cout<<m<<' '<<n; }


测评信息: