自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 Good Bye 2016(A+B)

A. New Year and Hurry time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Limak is going to participate in a contest on the last day of the 201

2016-12-31 09:03:40 524 2

原创 Codeforces Round #304 (Div. 2)C. Soldier and Cards(STL+模拟)

C. Soldier and Cardstime limit per test:2 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputTwo bored soldiers are playing card war. Their card deck consists of exactl

2016-12-28 23:10:59 430

原创 Codeforces Round #388 (Div. 2)C. Voting(数据结构+模拟)

C. Votingtime limit per test:1 secondmemory limit per test:256 megabytesinput:standard inputoutput:standard outputThere are n employees in Alternative Cake Manufacturing (ACM). They are now voting on s

2016-12-22 20:03:39 491

原创 Codeforces Round #388 (Div. 2) (A+B)

A. Bachgold Problemtime limit per test:1 secondmemory limit per test:256 megabytesinput:standard inputoutput:standard outputBachgold problem is very easy to formulate. Given a positive integer n repres

2016-12-22 19:22:20 528

转载 Codeforces Round #384 (Div. 2)(数学)

C. Vladik and fractionstime limit per test:1 secondmemory limit per test:256 megabytesinput:standard inputoutput:standard outputVladik and Chloe decided to determine who of them is better at math. Vlad

2016-12-15 20:13:39 471

原创 Codeforces Round #384 (Div. 2) (A+B)(思维)

A. Vladik and flightstime limit per test:2 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputVladik is a competitive programmer. This year he is going to win the Inter

2016-12-15 20:05:08 553

原创 "科林明伦杯"哈尔滨理工大学第六届程序设计团队赛(流水账)

记一次有趣的比赛。。。。。。 自己去打的,打的不咋好,写篇博客记录下来。。。 热身赛是去年个人赛的题,就随便写写。 正式赛开始:A题签到题,没什么说的,但是手速慢了点。写完后B是一个小麻烦的模拟,模拟很菜,就没动,找到了一个E题,感觉和某次网赛的题很像,写了一发智障预处理,T了,弃之。又看到C题是签到题,暴力过之。看了看没什么可写的,于是去写B,写写改改,逗Bwa一发后过了。此时排名已经不知道

2016-12-13 17:56:17 972

原创 Hrbust2016年校团队赛E题

Mod Time Limit: 1000 MS Memory Limit: 100000 K Total Submit: 28(5 users) Total Accepted: 8(4 users) Rating: Special Judge: No Description Kim刚刚学会C语言中的取模运算(mod)。他想要研究一下一个数字A模上一系列数后的结果是多少。帮他写个程序验证一下。 In

2016-12-10 20:29:20 467

原创 FFT

设集合A,B,C. C=x+y(x∈A,y∈B)求C集合const double PI = acos(-1.0);struct complex{ double r,i; complex(double _r = 0,double _i = 0) { r = _r; i = _i; } complex operator +(c

2016-12-09 20:44:35 780

原创 D Pairs(FFT)

D Pairs Description Given N integers, count the number of pairs of integers whose sum is less than K. And we have M queries. Input The first behavior is an integer T (1 < = T < = 10), on behalf of the

2016-12-09 20:40:16 471

原创 Problem H: 《为什么会变成这样呢》(位运算)

Problem H: 《为什么会变成这样呢》Description“第一次有了喜欢的人,还得到了一生的挚友,两份喜悦互相重叠,这双重的喜悦又带来了更多更多的喜悦,本应已经得到了梦幻一般的幸福时光,然而,为什么,会变成这样呢?”双重的喜悦感却无法带来更多的幸福,现在,雪菜在很多喜悦感之中只想要得到两份不重叠的喜悦感(其他的喜悦感都是重叠的),你能帮她找出这两份不同的喜悦感是多少吗?Input第一行一个

2016-12-09 19:24:54 704

原创 Codeforces Round #383 (Div. 2)(A+B)

A: 题意:求解1378^n的个位数为几? 题解:快速幂裸题 代码:#include<bits/stdc++.h>#define ll long longusing namespace std;ll quick(ll x,ll y){ ll ans=1; while(y) { if(y&1) ans=ans*x%10;

2016-12-07 08:38:20 189

原创 哈尔滨理工大学软件学院ACM程序设计全国邀请赛(水题5道)

E:统计子串‘6’的长度,每个长度对答案有(1+cnt)*cnt/2的贡献 ,统计答案。 代码:#include <bits/stdc++.h>#define ll long longusing namespace std;int n,len;char str[200010];ll quick(ll x){ return (1+x)*x/2;}int main(){

2016-12-03 17:42:59 525

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除