萌新求助
查看原帖
萌新求助
744150
renshengyan楼主2022/7/19 19:38
#include <iostream>
using namespace std;

int main(){
	int n,x;
	cin>>n>>x;
		while(n>0){
			if(n%10==x){
				x++;
			}
				n/10;
			}
	cout<<x;
	return 0;
	}
2022/7/19 19:38
加载中...