| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 3919 | A班-许锘林 | 雇佣兵 | C++ | Accepted | 100 | 0 MS | 268 KB | 273 | 2025-01-04 12:07:47 |
#include <bits/stdc++.h> using namespace std; int main() { int m; int n; int x; cin>>m>>n>>x; int t = 0; while(x >= 0) { if(t < m) { t += n; x--; } else if(t >= m) { n += m / n; t = 0; } } cout<<n<<endl; return 0; }