摘要: 一开始没看清题(uva的题目就是坑爹) WA了好多次。原因:k,m,M是通用单位,PUI都可以用。#include <cstdio>#include <cstdlib>#include <cstring>#include <cctype>using namespace std;double readnum(char *a,int begin,int *end){ int i=begin,j=0; char tmp[1001]; double num; memset(tmp, '\0', 1001); while(!isalpha( 阅读全文
posted @ 2012-12-13 17:56 Wxy191 阅读(203) 评论(0) 推荐(0) 编辑