摘要: 1 #include 2 3 char s[1005]; 4 int lenth(char s[]) 5 { 6 int i=0; 7 while(s[i]) 8 ++i; 9 return i; 10 } 11 int main() 12 { 13 while(gets(s)) 14 { 15 int ... 阅读全文
posted @ 2017-01-02 14:52 Posase 阅读(158) 评论(0) 推荐(0)
摘要: 1 #include 2 3 int cus(int x,int y) 4 { 5 if(y) 6 return cus(y,x%y); 7 else 8 return x; 9 } 10 int main() 11 { 12 int x1,x2,y1,y2; 13 char c; 14 while(~s... 阅读全文
posted @ 2017-01-02 14:21 Posase 阅读(133) 评论(0) 推荐(0)