zoukankan      html  css  js  c++  java
  • poj1450

    简单题

    View Code
    #include <iostream>
    #include <cstdio>
    #include <cstdlib>
    #include <cstring>
    using namespace std;
    
    int main()
    {
        int t;
        scanf("%d", &t);
        for (int i = 0; i < t; i++)
        {
            printf("Scenario #%d:\n", i + 1);
            int a, b;
            scanf("%d%d", &a, &b);
            if ((a & 1) && (b & 1))
                printf("%d.41\n", a * b);
            else
                printf("%d.00\n", a * b);
            putchar('\n');
        }
        return 0;
    }
  • 相关阅读:
    Python基础Day2
    HDU
    HDU
    BZOJ
    Gym
    UVA
    UVA
    UVA
    UVA
    BZOJ
  • 原文地址:https://www.cnblogs.com/rainydays/p/2839829.html
Copyright © 2011-2022 走看看