九度oj 1074
来源:互联网 发布:iPhone恢复应用数据 编辑:程序博客网 时间:2024/06/05 06:34
- 题目描述:
- 打印所有不超过n(n<256)的,其平方具有对称性质的数。如11*11=121
- 输入:
无任何输入数据
- 输出:
- 输出具有题目要求的性质的数。如果输出数据不止一组,各组数据之间以回车隔开。
- 样例输入:
样例输出:
#include<iostream>#include<stdlib.h>using namespace std;int main(){ cout<<"0"<<endl; cout<<"1"<<endl; cout<<"2"<<endl; cout<<"3"<<endl; cout<<"11"<<endl; cout<<"22"<<endl; cout<<"26"<<endl; cout<<"101"<<endl; cout<<"111"<<endl; cout<<"121"<<endl; cout<<"202"<<endl; cout<<"212"<<endl; }
最简单的列举法。。哈哈
0 0
- 九度oj 1074
- 【九度OJ】:九度OJ 1050
- 【九度OJ】:九度OJ 1053
- 【九度OJ】:九度OJ 1056
- 【九度OJ】:九度OJ 1059
- 【九度OJ】:九度OJ 1206
- 九度OJ 1074: 对称平方数
- 九度OJ 1074 对称平方数
- 九度OJ-1074-对称平方数
- 九度oj 1074 对称平方数
- 九度OJ 1074:对称平方数
- 九度OJ:1000
- 【九度OJ】 1006
- 九度 OJ 1499
- 九度OJ-1002
- 九度OJ-1003
- 九度OJ 1004
- 九度OJ 1003
- xhost display详解
- poj 1502 MPI Maelstrom(最短路)
- [bzoj1031][JSOI2007]字符加密Cipher
- VC++匈牙利命名法
- ListView嵌套GridView点击空白地方无法触发ListView点击事件解决方法
- 九度oj 1074
- 【SQL Server 2008 使用篇】无法连接到服务器
- 最短路径算法——Dijkstra,Bellman-Ford,Floyd-Warshall,Johnson
- Mac上的抓包工具Charles 附下载链接
- 抽屉柜式MCC柜中PROFIBUS设备推荐波特率及对应传输距离
- 【峰回路转】Excel技巧百例 03.快速变换两列的值
- 4. php运行过程时序图
- Andy's First Dictionary
- 《C++Primer》读书笔记之书店程序