POJ每日一练
yiitz
码出精彩
展开
-
POJ1003
#include#includeusing namespace std;int main(){ //maxLen=0.0f; float maxLen; vector lens; vector lenss; while (true) { cin>>maxLen; if(maxLen<0.001f) { break; } lens.push_bac原创 2013-04-02 13:19:00 · 394 阅读 · 0 评论 -
POJ1001
/* *高精度幂 * bolg: http://blog.csdn.net/xidomlove * mail: fufulove2012@gmail.com ganyoufu@hotmail.com */#include#include#includeusing namespace std;//vout=vout+v2;void co原创 2013-04-01 22:13:42 · 539 阅读 · 0 评论 -
POJ1000
#include using namespace std;int main(){ int a,b; cin >> a >> b; cout return 0;}原创 2013-04-01 22:12:51 · 433 阅读 · 0 评论 -
POJ1002
#include#include#include#includeusing namespace std;bool can_remove(char iter){ if(iter=='-')return true; return false;}int main(){ int n; cin>>n; vector enums; vector num; while (原创 2013-04-01 22:14:52 · 433 阅读 · 0 评论 -
POJ1005
#include#includeusing namespace std;const double PI=3.1415926;int main(){int count;cin>>count;double x,y;int i=0;while (i++{cin>>x>>y;cout}cout}原创 2013-04-06 22:09:21 · 585 阅读 · 2 评论 -
POJ1004
#includeusing namespace std;int main(){ double money; double allmoney=0; int i=0; while (i++<12) { cin>>money; allmoney+=money; } cout<<"$"<<allmoney/12; return 0;}原创 2013-04-06 21:39:58 · 458 阅读 · 0 评论