Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
2540 | D班-陈颖钧 | 太弱的好哥们 | C++ | Wrong Answer | 0 | 1 MS | 264 KB | 248 | 2024-12-15 17:23:03 |
#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(n+1<=3){ n++; }else{ n=1; m++; } } cout<<m<<' '<<n; }