每日英语:The Toy Mogul Who Became A Billionaire Through His Fight To The Death With Barbie
ThetrophycaseinthetinyconferenceroomoutsideIsaacLarian’scornerofficespansanentirewall.Itoverflowswiththedollsthathavemadehimafortune,fromhisfirsthit,t...
Her and his blog
Tonight, Ireadlocalhost8080andsomeofherhusbandm67'sblog. Ifoundtheyaresogeekandreallysuitableforeachother.Lookingforwardtothefuturewithasoulmatewhound...
【基数排序】Divide by Zero 2017 and Codeforces Round #399 (Div. 1 + Div. 2, combined) C. Jon Snow and his Favourite Number
发现值域很小,而且怎么异或都不会超过1023……然后可以使用类似基数排序的思想,每次扫一遍就行了。复杂度O(k*1024)。#include<cstdio>#include<cstring>usingnamespacestd;intn,k,x,cnts[1110],tmpcn...
Divide by Zero 2017 and Codeforces Round #399 (Div. 1 + Div. 2, combined) C - Jon Snow and his Favourite Number
地址:http://codeforces.com/contest/768/problem/C题目:C.JonSnowandhisFavouriteNumbertimelimitpertest4secondsmemorylimitpertest256megabytesinputstandardinpu...
HIS与CIS的区别与联系
医院的医疗信息系统总体可以分为两类:一类是关于医院管理运作的,另一类是关于临床医疗护理的,即面向医院管理和病人管理,前者被称为HIS(医院信息系统),后者被称为CIS(临床信息系统)。HIS是以经济核算为主轴,主要是实现对医院人流、物流、财流的综合管理;CIS是以病人为中心,直接为病人的临床医疗、护...
Codeforces768C Jon Snow and his Favourite Number 2017-02-21 22:24 130人阅读 评论(0) 收藏
C.JonSnowandhisFavouriteNumbertimelimitpertest4secondsmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputJonSnownowhastofightwithWhit...
HDU 5410 CRB and His Birthday ——(完全背包变形)
对于每个物品,如果购买,价值为A[i]*x+B[i]的背包问题。先写了一发是WA的==。代码如下:#include<stdio.h>#include<algorithm>#include<string.h>#include<set>usingnames...
Codeforces_776B: Sherlock and his girlfriend(素数筛)
题目链接题意:对2~n+1染色,一个数不能与其素因子同色。故而只需两种颜色即可,素数染1,合数染2便可满足条件#include<bits/stdc++.h>usingnamespacestd;typedeflonglongLL;//素数筛打表;],num_prime=;];voidini...
2016中国大学生程序设计竞赛 - 网络选拔赛 C. Magic boy Bi Luo with his excited tree
MagicboyBiLuowithhisexcitedtreeProblemDescriptionBiLuoisamagicboy,healsohasamigictree,thetreehas N nodes,ineachnode,thereisatreasure,it'svalueis V[i],...