ACM
文章平均质量分 78
woshillll
这个作者很懒,什么都没留下…
展开
-
pku acm 1003
#includeusing namespace std;int main(){float length,temp;int maxNum(0);while(cin>>length){while(length>0){++maxNum;temp=1.0f/(maxNum+1);length-=temp;}转载 2014-06-27 17:32:16 · 339 阅读 · 0 评论 -
北大 ACM 1001 C++实现
#include #include #include using namespace std;class LiQiang{private:int dot;vector m_value;public:LiQiang(){dot = 0;}LiQiang(char *str){dot = 0;int len = str原创 2014-06-11 18:04:36 · 548 阅读 · 0 评论 -
PKU ACM 1002 487-3279 C++实现
#include #include #include #include #include using namespace std;class LiQiang{private:inline char convert(char ch){if (ch = '0'){return ch;}if ('A' == ch || 'B'原创 2014-06-12 11:15:06 · 437 阅读 · 0 评论