#include<bits/stdc++.h> using namespace std; int main(){ int m=0,q=0,h=0,w=17,s=0;

s=w;
	while(w!=0){
		q=w%10;
		w=w/10;
		h=h+q;
		
	}
	if(h==8){
	cout<<s<<endl;
	}

	
	w=26;
	s=w;
	while(w!=0){
		q=w%10;
		w=w/10;
		h=h+q;
		
	}
	if(h==8){
		cout<<s<<endl;
	}
	h=0;
	

	w=35;
	s=w;
	while(w!=0){
		q=w%10;
		w=w/10;
		h=h+q;
		
	}
	if(h==8){
	cout<<s<<endl;
	}
	h=0;
	
	
	w=44;
	s=w;
	while(w!=0){
		q=w%10;
		w=w/10;
		h=h+q;
		
	}
	if(h==8){
	cout<<s<<endl;
	}
	h=0;
	
	
	w=53;
	s=w;
	while(w!=0){
		q=w%10;
		w=w/10;
		h=h+q;
		
	}
	if(h==8){
	cout<<s<<endl;
	}
	h=0;
	
	
	w=62;
	s=w;
	while(w!=0){
		q=w%10;
		w=w/10;
		h=h+q;
		
	}
	if(h==8){
	cout<<s<<endl;
	}
	h=0;
	
	
	w=71;
	s=w;
	while(w!=0){
		q=w%10;
		w=w/10;
		h=h+q;
		
	}
	if(h==8){
	cout<<s<<endl;
	}
	h=0;
	
	
	
	w=80;
	s=w;
	while(w!=0){
		q=w%10;
		w=w/10;
		h=h+q;
		
	}
	if(h==8){
	cout<<s;
	}
	h=0;

return 0;

}

0 条评论

目前还没有评论...

信息

ID
691
时间
1000ms
内存
256MiB
难度
3
标签
递交数
50
已通过
11
上传者