POJ 1450
2015-06-09 14:01
423 查看
#include <iostream> using namespace std; int main() { //freopen("acm.acm","r",stdin); int test; int r; int c; cin>>test; int time = 0; while(test --) { cin>>r>>c; cout<<"Scenario #"<<++ time<<":"<<endl; if(r*c % 2 == 0) { cout<<r*c<<".00"<<endl; } else cout<<r*c<<".41"<<endl; cout<<endl; } }
相关文章推荐
- POJ 1422
- 【资料整理】cisco [OSI, IP Address, Network Segment, Subnet Mask]
- 80070005 错误处理
- Android 映像文件 system.img, boot.img, ramdisk.img, userdata.img.
- Android Framework 记录之一
- YUV格式说明
- Linux开机启动、网络、双屏显示
- windows远程连接不能复制粘贴
- 《Web应用测试》笔记(第3章-软件测试基础)
- UILabel的属性总结
- Dictionary的TryGetValue方法
- visual studio 快捷键及快捷使用方式
- POJ 1416
- POJ 1419
- 使用storyboard设置按钮边框属性(颜色,宽度,圆角)
- Svn 笔记—— Hooks
- Auto reloading enabled
- 理义科技展出35指55寸纯玻璃电容式触控面板
- Direct3D 11 中的资源介绍
- IOS开发基础知识--碎片14