markdown 在线制作ppt json校验和格式化工具

POJ 1450

#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;
    }
}

 

关注我的公众号,当然,如果你对Java, Scala, Python等技术经验,以及编程日记,感兴趣的话。 

技术网站地址: vmfor.com

posted @ 2015-06-09 14:01  GavinHacker  阅读(132)  评论(0编辑  收藏  举报
markdown 在线制作ppt json校验和格式化工具