Halloween party
2014-09-26 16:20
190 查看
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; }
相关文章推荐
- 在Ubuntu中使用万圣节主题壁纸
- 富于喜感的方滨兴
- AD
- 东莞PDC Party活动圆满落幕
- 一次失败的聚会
- 一次Punch Party活动的感悟
- 一次Punch Party活动的感悟
- maven 上传第三方包
- 零基础学并查集算法
- Party (Standard IO)
- 微信企业号,发消息或获取人员信息时报no privilege to access/modify contact/party/agent
- 在周六(05/11)的 Beijing Open Party 上分享了 Salt 的话题
- mybatis入门
- eclipse 中git解决冲突
- 图片轮播自动手动Jquery
- 4.用链表实现两个大数相加
- FRESCO:SDN安全控制器框架
- linux 常用命令
- iPhone开发之深入浅出 (1) — ARC是什么