1 条题解
-
1
202509zj05张子瑞 (张子瑞) LV 9 @ 2026-01-11 17:25:59
#include<bits/stdc++.h>
using namespace std;
int main()
{
int t,n,k;
cin>>t;
for(int i=1;i<=t;i++)
{
cin>>n>>k;
int y=n/k;
cout<<n+y<<endl;
}
return 0;
}
- 1
信息
- ID
- 3010
- 难度
- 5
- 分类
- (无)
- 标签
- 递交数
- 21
- 已通过
- 13
- 通过率
- 62%
- 上传者