2014年5月12日

杭电2007

摘要: 1 #include 2 using namespace std; 3 4 int ji(int); 5 int ou(int); 6 int main() 7 { 8 int m,n,x,y; 9 while (cin >> m >> n)10 {11 ... 阅读全文

posted @ 2014-05-12 21:37 Lingc· 阅读(245) 评论(0) 推荐(0) 编辑

杭电 2004

摘要: 1 #include 2 using namespace std; 3 char grand(int); 4 int main() 5 { 6 int n; 7 while (cin>> n) 8 { 9 if (n>100 || n<0)10 ... 阅读全文

posted @ 2014-05-12 21:06 Lingc· 阅读(184) 评论(0) 推荐(0) 编辑

杭电2005

摘要: 1 #include 2 #include 3 using namespace std; 4 5 int main() 6 { 7 int year,month,day; 8 9 char a;10 int days_of_month1[13] = {0,31,29... 阅读全文

posted @ 2014-05-12 20:40 Lingc· 阅读(408) 评论(1) 推荐(0) 编辑

杭电2001

摘要: #include #include #include using namespace std;int main(){ double x1,y1,x2,y2; double result; while (cin>>x1>>y1>>x2>>y2) { result ... 阅读全文

posted @ 2014-05-12 18:00 Lingc· 阅读(207) 评论(0) 推荐(0) 编辑

杭电 2000

摘要: #include using namespace std;#define MAXN 4int main(){ //char arr[MAXN] = {0}; char arr[MAXN]; memset(arr,0,MAXN); while (cin >> arr) {... 阅读全文

posted @ 2014-05-12 17:45 Lingc· 阅读(282) 评论(0) 推荐(0) 编辑

Section One

摘要: 1.1.1 1 #include 2 using namespace std; 3 4 int main() 5 { 6 int a,b,N; 7 cin >> N; 8 while ( cin >>a >>b) 9 {10 cout 2 usi... 阅读全文

posted @ 2014-05-12 13:49 Lingc· 阅读(221) 评论(0) 推荐(0) 编辑

导航

不知道不知道 知道不知道 知道知道 不知道知道。
天道酬勤,同志们共同努力!