| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 2542 | 陈颖钧 | 太弱的好哥们 | C++ | Accepted | 100 | 1 MS | 260 KB | 248 | 2024-12-15 17:25:53 |
#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<=r){ n++; }else{ n=1; m++; } } cout<<m<<' '<<n; }