码迷,mamicode.com
首页 >  
搜索关键字:uva 11624 fire    ( 8548个结果
UVA-11437 Triangle Fun(梅涅劳斯定理)(三等分点)
题意:如下是一个三角形ABC.$点D,E和F是三角形ABC的三等分点,$求$三角形PQR$的面积。 分析:三等分点的坐标可以推导出来,比如求D的坐标,D的坐标为$(\frac{2 * B.x + C.x}{3}, \frac{2 * B.y + C.y}{3})$,然后求出$三个交点P, R, Q$ ...
分类:其他好文   时间:2020-07-09 19:45:35    阅读次数:186
使用firewall-cmd限制ssh只能从指定IP段访问
实现过程 下面的命令将配置192.168.1.0/24整个网段的IP允许访问服务器的22端口 // 先移除默认开启的没有访问限制的ssh服务 # firewall-cmd --permanent --remove-service=ssh // 添加复杂规则,只允许指定IP段访问22端口 # fire ...
分类:其他好文   时间:2020-07-06 16:30:30    阅读次数:304
UVA10298 POJ2046 Power Strings
gate 一年前做的. 求一个字符串由多少个循环节构成. KMP. 结论:若$n % (n-next[n]) \not= 0$则不是由循环节构成的. 否则,答案为$n/(n-next[n])$. code #include<cstdio> #include<iostream> #include<cm ...
分类:其他好文   时间:2020-07-01 09:51:14    阅读次数:65
Tokio Marine & Nichido Fire Insurance Programming Contest 2020 English
D 设阈值$L$,预处理$i\le L$的祖先最优背包 对于一次询问,$i>L$的部分可以状压 E 显然,题目可以直接转化为$S=0,T=2^L-1$,\(A_i\in[0,2^T)\) 令$f(U)\(为集合大小\)\in[1,K]\(,集合中所有数\)\And U$相同的个数 \(ans=\su ...
分类:其他好文   时间:2020-06-28 22:51:38    阅读次数:124
C3L-UVa1584-Circular Sequence
平台: UVa Online Judge 題號: 1584 - Circular Sequence 題目連結: https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=448&page=show_probl ...
分类:其他好文   时间:2020-06-27 22:48:22    阅读次数:173
uva 11292
不墨迹 #include <iostream> #include <algorithm> using namespace std; const int maxn = 1e6; int a[maxn], b[maxn]; int main() { #ifndef ONLINE_JUDGE freope ...
分类:其他好文   时间:2020-06-26 18:16:06    阅读次数:64
场外模拟 省选联考(A卷重考) 2020 游记
CSDN同步 前记 上次 \(A\) 卷 $155$,\(B\) 卷 $360$ ;一个退役,一个进队。 所以说很不爽,来把 \(A\) 卷的题再看一遍。 冰火战士 上次只看了 $10$ 分的暴力,认真了才发现答案是 $2 \times \min { ice,fire }$,随便弄个数据结构二分维护 ...
分类:其他好文   时间:2020-06-26 14:22:48    阅读次数:87
VMware虚拟机各版本密钥
VMware Workstation Pro 15官方版下载:https://download3.vmware.com/software/wkst/file/VMware-workstation-full-15.5.0-14665864.exe VMware Workstation Pro 15 激 ...
分类:系统相关   时间:2020-06-20 22:28:37    阅读次数:455
UVA - 11624 Fire!
题目: Joe works in a maze. Unfortunately, portions of the maze have caught on fire, and the owner of the maze neglected to create a fire escape plan. He ...
分类:其他好文   时间:2020-06-18 12:53:23    阅读次数:73
unity|火焰和烟效果(粒子系统)
一、火焰和烟的效果图 二、火焰的制作 1、创建Particle System(粒子系统)(GameObject或鼠标右键->Effects->Particle System)然后将名字修改一下—> fire在Hierarchy面板中选中fire不同运行程序就会看到如下的效果 2、fire的参数如下有 ...
分类:编程语言   时间:2020-06-09 18:46:19    阅读次数:157
8548条   上一页 1 2 3 4 5 6 ... 855 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!