- 博客(5)
- 收藏
- 关注
原创 1031. 查验身份证(15)
#include<iostream>using namespace std;int main(){ int weight[17] = {7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2}; bool flag[100] = {false}; int N; cin >> N; fflush(stdin); char id[100
2015-08-30 22:35:58
618
原创 HTML&CSS--圣诞树
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN"><head><title圣诞树</title><meta htt
2015-05-21 09:03:53
5328
3
原创 1032. 挖掘机技术哪家强
本来想按题目顺序发出来,但是由于提交的一些题目没有通过,再加上这一题让我有些感想,就急着先把这题发出来,并且记录一下体会 这是通过的代码:include<iostream>using namespace std;class A{public: int num; int score;};int main(){ int n, maxnum = 0; int
2015-04-21 10:28:53
729
原创 1002. 写出这个数
#include<iostream>#include<vector>#include<iomanip>#include<string>//g++改为<string.h>using namespace std;int main(){ string str; int i = 0; vector<int>numbers; int num; long int
2015-04-19 17:41:26
542
原创 1001. 害死人不偿命的(3n+1)猜想
#include<iostream>using namespace std;int main(){ int n, count = 0; cin >> n; while (n != 1) { if (n % 2 == 0) { n = n / 2; } else
2015-04-19 16:52:17
355
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人