| 比赛 | 十一中校庆欢乐赛 | 评测结果 | RRRRRRRRRR |
|---|---|---|---|
| 题目名称 | money | 最终得分 | 0 |
| 用户昵称 | Chenyao2333 | 运行时间 | 0.004 s |
| 代码语言 | C++ | 内存使用 | 0.31 MiB |
| 提交时间 | 2014-10-23 18:15:32 | ||
#include<iostream>
#include<cstdio>
#include<algorithm>
#include<vector>
#include<cstring>
using namespace std;
int main(){
//freopen("in.txt","r",stdin);
int N;double ans=0;
scanf("%d",&N);
for(int i=1;i<=N;i++){
int mo,zhe; scanf("%d %d",&mo,&zhe);
ans+=(mo*zhe)/10.0;
}
printf("%.2lf\n",ans);
return 0;
}