摘要: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
浙公网安备 33010602011771号