One-way trafficTime Limit: 3000msMemory Limit: 131072KBThis problem will be judged onUVALive. Original ID:266464-bit integer IO format:%lld Java class...
分类:
其他好文 时间:
2015-08-05 14:28:32
阅读次数:
195
Street DirectionsTime Limit: 3000msMemory Limit: 131072KBThis problem will be judged onUVALive. Original ID:541264-bit integer IO format:%lld Java cla...
分类:
其他好文 时间:
2015-08-05 12:28:33
阅读次数:
164
DES: 就是说对每个人都给你一个区间。但一个人只匹配一个数。问你满足匹配的人的序号字典序最大时的最大匹配是什么。前几天刚做的UVALive 6322...当然是不一样的...那个要求的最大匹配的个数...求V2的最小字典序...这个呢...就是最大匹配中V1字典序最小是多少...(已晕菜)大概理解...
分类:
其他好文 时间:
2015-08-05 10:06:44
阅读次数:
89
I - I'm Telling the Truth Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit Status Practice UVALive 5033DescriptionAfter this year'...
分类:
其他好文 时间:
2015-08-05 10:02:50
阅读次数:
136
E - Encoded BarcodesCrawling in process...Crawling failedTime Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmitStatusPracticeUVALive 502...
分类:
其他好文 时间:
2015-08-05 00:59:17
阅读次数:
130
C - Card GameCrawling in process...Crawling failedTime Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmitStatusPracticeUVALive 5027Descri...
分类:
其他好文 时间:
2015-08-05 00:52:05
阅读次数:
136
DES:这是一个新的游戏。给你一套牌、编号从1到100000.正常来说。你手中的牌和这次翻的牌是一样的,就会加一分。但是。如果是999的话。加三分。所以问你最大的分是多少。貌似是简单的DP吧。(DP菜鸟...再简单我也不会...T_T...)于是...我看懂了...但是不可言传....~~~~(>_...
分类:
其他好文 时间:
2015-08-04 00:09:54
阅读次数:
262
一开始,没敢写,感觉会超时。。。其实就是暴力搜索。DFS 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #define clc(a,b) memset(a,b,sizeof(a)) 8 #def...
分类:
其他好文 时间:
2015-08-03 22:17:07
阅读次数:
194
B - Bing it Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit Status Practice UVALive 4764DescriptionI guess most of you played car...
分类:
其他好文 时间:
2015-08-03 20:58:02
阅读次数:
182
题意:如图所示,给出P、Q、R三点的坐标,AB、BC、AC被点F、D、E划分成m1:m2、m3:m4、m5:m6,给出m1~m6的数值,求△ABC的三个顶点A、B、C的坐标。
题解:根据梅涅劳斯定理,如果有两个三角形是这样组成的:
结论:(BD/DC)×(CE/EA)×(AF/FB)=1
证明省略,直接运用结论,在题中所给的三角形中有6组这样的三角形,分别可以推出后面两个边的比值:
△CBQ...
分类:
其他好文 时间:
2015-08-03 17:01:58
阅读次数:
149