题目: Given two integers, a and b, you should check whether a is divisible by b or not. We know that an integer a is divisible by an integer b if and on ...
分类:
其他好文 时间:
2017-08-18 09:36:20
阅读次数:
167
题目来源:Light OJ 1406 Assassin`s Creed 题意:有向图 派出最少的人经过全部的城市 而且每一个人不能走别人走过的地方 思路:最少的的人能够走全然图 明显是最小路径覆盖问题 这里可能有环 所以要缩点 可是看例子又发现 一个强连通分量可能要拆分 n最大才15 所以就状态压缩 ...
分类:
其他好文 时间:
2017-08-15 19:52:10
阅读次数:
164
传送门 1199 - Partitioning Game PDF (English) Statistics Forum Time Limit: 4 second(s) Memory Limit: 32 MB Alice and Bob are playing a strange game. The ...
分类:
其他好文 时间:
2017-08-14 21:30:57
阅读次数:
187
https://vjudge.net/problem/LightOJ-1074 首先吐槽一个单词,directional是有方向的,undirectional是无向的,这个unidirectional是tm单向的。。。。好吧我又学会一个单词。 由于有负边权,用spfa好啦,判断负环时不要遇见就ret ...
分类:
其他好文 时间:
2017-08-14 20:06:12
阅读次数:
126
You are given a 2D board where in some cells there are gold. You want to fill the board with 2 x 1 dominoes such that all gold are covered. You may us ...
分类:
其他好文 时间:
2017-08-13 15:10:36
阅读次数:
141
You run a marriage media. You take some profiles for men and women, and your task is to arrange as much marriages as you can. But after reading their ...
分类:
其他好文 时间:
2017-08-13 14:14:29
阅读次数:
206
题意: 给一个B进制的数,一个10进制的数K,B进制数有x位, 对着x位进行全排列的话,有x!种可能, 问这x!的可能中,有多少种可以整除K,各个位置上的数字都不同。 思路:状态压缩,数位DP #include<iostream> #include<cstdio> #include<cstdlib> ...
分类:
其他好文 时间:
2017-08-11 10:07:04
阅读次数:
128
Intelligent.Light.FieldView.v14.Win32_64 2CD Altair HyperWorks Solvers v12.0.212 Update Only Win32_64 & Linux64 3CD Ansys ECAD Translators 2014 v8.0 W ...
小记一下用法与问题,时更 surface shader就不用操心了,自带lightmap计算 主要是vertex fragment shader部分 Unity5 bake light map有三种情况: 1.Non-directional 2.directional 3.directional s ...
分类:
Web程序 时间:
2017-08-10 16:54:47
阅读次数:
288
T1 基因光线 light 题目描述: 黑大帅统治古古怪界后,一直在玩一种很奇葩的游戏。在一个二维平面上,他先复制了n个小A,把他们放在不同的位置,然后射出一条ax+by+c=0的基因光线,宽度为d,即离这条直线的距离不大于d的小A会被射中。当然,某些悲剧的小A就会被射中,并变成黑小A。当然,这不是 ...
分类:
其他好文 时间:
2017-08-09 21:06:49
阅读次数:
210