摘要: 题目链接地址:http://acm.hdu.edu.cn/showproblem.php?pid=4432Sum of divisorsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 137 Accepted Submission(s): 54 Problem Descriptionmmm is learning division, she's so proud of herself that she can figure out 阅读全文
posted @ 2012-10-26 16:39 sorryhao 阅读(330) 评论(0) 推荐(0)
摘要: 题目链接地址:http://acm.hdu.edu.cn/showproblem.php?pid=44382012天津赛区现场赛H题/*简单数学题只要稍微懂点概率论的知识就能做出来当Alice首选tiger时,期望为:mp1 = q*(p*x + p*y) + (1-q)*x;当Alice首选wolf是,期望为:mp2 = q*y + (1-q)*(p*x + p*y);*/#include<iostream>using namespace std;int t;double x,y,p,q;int main(){ //freopen("4438.txt",&qu 阅读全文
posted @ 2012-10-26 14:46 sorryhao 阅读(260) 评论(0) 推荐(0)