摘要: "字母图形" cpp include include using namespace std; int main(){ int n, m; cin n m; for(int i=0; i 阅读全文
posted @ 2019-01-24 21:13 A-Little-Nut 阅读(155) 评论(0) 推荐(0) 编辑
摘要: "数列特征" cpp include include using namespace std; int main(){ int n, sum=0, maxn= 999999, minn=999999, t; cin n; for(int i=0; i t; maxn=max(maxn, t); mi 阅读全文
posted @ 2019-01-24 21:10 A-Little-Nut 阅读(128) 评论(0) 推荐(0) 编辑
摘要: "查找整数" cpp include include using namespace std; int main(){ int n, cnt=1, t, a; cin n; vector v(10005, 1); for(int i=0; i t; if(v[t]== 1) v[t]=cnt; cn 阅读全文
posted @ 2019-01-24 21:09 A-Little-Nut 阅读(119) 评论(0) 推荐(0) 编辑
摘要: "杨辉三角" cpp include include using namespace std; int main(){ int n; cin n; vector vi(36, 0); vi[1]=1; for(int i=1; i temp(36,0); for(int j=1; j 阅读全文
posted @ 2019-01-24 21:07 A-Little-Nut 阅读(107) 评论(0) 推荐(0) 编辑
摘要: "特别的数字" cpp include using namespace std; int main(){ for(int i=100; i 阅读全文
posted @ 2019-01-24 21:06 A-Little-Nut 阅读(88) 评论(0) 推荐(0) 编辑
摘要: "回文数" cpp include using namespace std; int main(){ for(int i=10; i 阅读全文
posted @ 2019-01-24 21:04 A-Little-Nut 阅读(133) 评论(0) 推荐(0) 编辑