码迷,mamicode.com
首页 > 其他好文 > 详细

Halloween party

时间:2014-09-26 20:05:09      阅读:122      评论:0      收藏:0      [点我收藏+]

标签:halloween party

Halloween party

#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;


int main() {
    int T;
    unsigned long K;
    cin>>T;
    
    while(T >= 1 && T <= 10 && T--)
    {
        cin>>K;
        if(K >= 2 && K <= 10000000)
        {
            cout<<(K * K /4)<<endl;
        }
    }
    /* Enter your code here. Read input from STDIN. Print output to STDOUT */   
    return 0;
}


Halloween party

标签:halloween party

原文地址:http://9320314.blog.51cto.com/9310314/1558583

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!