zzzzz
2025-09-28 19:11:10
发布于:浙江
2阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin >> n;
queue<long long> a;
a.push(1);
while(a.size()){
long long x = a.front();
a.pop();
if(x%n==0){
cout << x/n << " " << x;
break;
}
a.push(x10);
a.push(x10+1);
}
}
这里空空如也


有帮助,赞一个