游客 Signup | Login
中文 | En

2979 - 输出个位上数字和十位上数字之和为10的两位数

输出个位上数字和十位上数字之和为10的所有两位数。每个数字之后有一个换行符。

Input

本题无输入。

Output

每个数字之后又一个换行。

Examples

Input

no input needed

Output

19
28
37
46
55
64
73
82
91

Solution C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	for(int i=10;i<=99;i++)
	{
		if(i%10+i/10==10)
		cout<<i<<endl;
	}
   return 0;
}

Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题