码迷,mamicode.com
首页 >  
搜索关键字:lightoj 1214    ( 714个结果
lightoj-1305 - Area of a Parallelogram(几何)
1305 - Area of a Parallelogram PDF (English) Statistics ForumTime Limit: 1 second(s) Memory Limit: 32 MBA parallelogram is a quadrilateral with two pa ...
分类:其他好文   时间:2016-06-06 18:53:20    阅读次数:144
lightoj-1354 - IP Checking(水题)
1354 - IP Checking PDF (English) Statistics ForumTime Limit: 2 second(s) Memory Limit: 32 MBAn IP address is a 32 bit address formatted in the followi ...
分类:其他好文   时间:2016-06-06 16:54:00    阅读次数:156
lightoj-1433 - Minimum Arc Distance(几何)
1433 - Minimum Arc Distance PDF (English) Statistics ForumTime Limit: 2 second(s) Memory Limit: 32 MBYou all probably know how to calculate the distan ...
分类:其他好文   时间:2016-06-06 16:16:46    阅读次数:134
lightoj-1182 - Parity(位运算)
1182 - Parity PDF (English) Statistics ForumTime Limit: 0.5 second(s) Memory Limit: 32 MBGiven an integer n, first we represent it in binary. Then we ...
分类:其他好文   时间:2016-06-05 18:41:46    阅读次数:119
lightoj-1011 - Marriage Ceremonies(状压dp)
1011 - Marriage Ceremonies PDF (English) Statistics ForumTime Limit: 2 second(s) Memory Limit: 32 MBYou work in a company which organizes marriages. M ...
分类:其他好文   时间:2016-06-05 12:28:20    阅读次数:282
lightoj-1009 - Back to Underworld(dfs+仿二分图染色)
1009 - Back to Underworld PDF (English) Statistics ForumTime Limit: 4 second(s) Memory Limit: 32 MBThe Vampires and Lykans are fighting each other to ...
分类:其他好文   时间:2016-06-04 23:28:19    阅读次数:232
LightOJ 1074 spfa判断负环
题意是给出一个有向图 给出一定的边 可以求出边权 求单源最短路 如果<3 或者 达不到 输出问号 不然输出dis[v] 一开始耿直的写了一个dij交上去 还过了样例 然后wa掉 看了看题 发现其中有负权边 并且应该是可以达到负环的 比如3->1->2->3 所以<3是判断 这个点能否是负的 或者 它 ...
分类:其他好文   时间:2016-06-02 20:06:11    阅读次数:167
LightOj 1230 Placing Lampposts(树形DP)
题意:给定一个森林。每个节点上安装一个灯可以覆盖与该节点相连的所有边。选择最少的节点数num覆盖所有的边。在num最小的前提下,合理放置num个灯使得被两个灯覆盖的边最多? 思路:F[i][0]代表没放灯,F[i][1]代表放了灯,G[i]类似。 ...
分类:其他好文   时间:2016-06-02 19:35:37    阅读次数:146
lightoj-1023 - Discovering Permutations(全排列)
1023 - Discovering Permutations PDF (English) Statistics ForumTime Limit: 0.5 second(s) Memory Limit: 32 MBIn this problem you have to find the permut ...
分类:其他好文   时间:2016-06-02 00:43:23    阅读次数:208
lightoj-1028 - Trailing Zeroes (I)(素数法求因子个数)
1028 - Trailing Zeroes (I) PDF (English) Statistics ForumTime Limit: 2 second(s) Memory Limit: 32 MBWe know what a base of a number is and what the pr ...
分类:其他好文   时间:2016-06-01 19:42:16    阅读次数:254
714条   上一页 1 ... 39 40 41 42 43 ... 72 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!