博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  简单入门题

摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2054View Code 1 #include<stdio.h> 2 #include<string.h> 3 4 int isdec( const char *p ) 5 { 6 int i; 7 int len=strlen(p); 8 for( i=0 ; i<len ; i++ ) 9 {10 if( *p == '.' )11 return 1;12 p++;13 }14 return 0;1... 阅读全文

posted @ 2012-10-02 00:15 皇星客栈--Linux 阅读(173) 评论(0) 推荐(0)