Responsive image

Problem 1067 --C语言程序设计教程(第三版)课后习题6.5

1067: C语言程序设计教程(第三版)课后习题6.5

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 409  Solved: 364
[Submit][Status][Web Board][Creator:]

Description

求以下三数的和,保留2位小数 1~a之和 1~b的平方和 1~c的倒数和

Input

a b c

Output

1+2+...+a + 1^2+2^2+...+b^2 + 1/1+1/2+...+1/c

Sample Input

100 50 10

Sample Output

47977.93

Source

 

[Submit][Status]
ACM算法攻关部
  • Anything about this OnlineJudge, Please Contact Administrator. Click add QQ

    OJ system based on HUSTOJ Project , UI based on Twitter Bootstrap

    Copyright 2016 ACM算法攻关部
    关于网站改版