UVa:10055 - Hashmat the Brave Warrior
来源:互联网 发布:bt天堂种子php 编辑:程序博客网 时间:2024/06/11 19:33
#include<cstdio>
int main()
{
int caseCount,farmerCount,farmerSpace,animalCount,EF;
int premium;
scanf("%d",&caseCount);
for(int i=0;i<caseCount;i++)
{
scanf("%d",&farmerCount);
premium=0;
for(int j=0;j<farmerCount;j++)
{
scanf("%d%d%d",&farmerSpace,&animalCount,&EF);
premium+=farmerSpace*EF;
}
printf("%d/n",premium);
}
return 0;
}
- UVa OJ 10055-Hashmat the Brave Warrior
- UVa:10055 - Hashmat the Brave Warrior
- UVa 10055 Hashmat the brave warrior
- uva 10055 Hashmat the Brave Warrior
- UVA 10055 - Hashmat the Brave Warrior
- uva-10055 - Hashmat the Brave Warrior
- uva 10055 Hashmat the Brave Warrior
- UVa OJ 10055 - Hashmat the Brave Warrior
- UVa 10055 - Hashmat the Brave Warrior
- UVA 10055 Hashmat the brave warrior
- uva 10055 Hashmat the brave warrior
- UVa 10055 Hashmat the brave warrior
- UVA 10055 Hashmat the brave warrior
- UVA - 10055 - Hashmat the Brave Warrior
- uva 10055 - Hashmat the Brave Warrior
- UVA OJ: 10055 - Hashmat the Brave Warrior
- UVa 10055 - Hashmat the Brave Warrior
- UVA 10055 Hashmat the Brave Warrior
- 对话框中添加状态栏方法:
- Cantor的数表
- 关于UI的一次讨论——来自项目管理群的讨论
- 因子和阶乘
- OMAP开发资源推荐(可以帮你少走不少弯路)
- UVa:10055 - Hashmat the Brave Warrior
- UVa:401 - Palindromes
- ULA-Linux集群架构师
- JAVA高级视频 网络编程 07 TCP网络连上传递对象
- SQL Server视图数据更改的常见限制条件
- 图表篇——Xml To Chart (饼图3D)
- ioctl分析
- Jquery动态加载图片
- Linux——信号驱动IO