1+1+!+!+!==1

徐逸昊  •  1年前



评论:

ssss

include <bits/stdc++.h>

using namespace std; long long f(int n) {

queue<long long> q;
q.push(6);
q.push(8);
long long l=0;
for (int i=1;i<=n;i++) {
	l=q.front();
	q.pop();
	q.push(l*10+6);
	q.push(l*10+8);
}
return l;

} int main() {

int n;
cin>>n;
long long m=f(n);
cout<<m<<endl;
return 0;

}


徐逸昊  •  1年前