zoj
Lngxling
这个作者很懒,什么都没留下…
展开
-
FZU - 2150 Fire Game —— BFS
Problem 2150 Fire Game Accept: 2713 Submit: 9264 Time Limit: 1000 mSec Memory Limit : 32768 KB Problem Description Fat brother and Maze are playing a kind of special (hentai) game o原创 2017-09-14 15:24:36 · 263 阅读 · 0 评论 -
ZOJ - 1586 QS Network —— kruskal
QS Network Time Limit: 2 Seconds Memory Limit: 65536 KB Sunny Cup 2003 - Preliminary Round April 20th, 12:00 - 17:00 Problem E: QS Network In the planet w-503 of galaxy cgb, there原创 2017-09-14 22:01:16 · 234 阅读 · 0 评论 -
ZOJ - 1203 Swordfish —— kurskal
Swordfish Time Limit: 2 Seconds Memory Limit: 65536 KB There exists a world within our world A world beneath what we call cyberspace. A world protected by firewalls, passwords and the mo原创 2017-09-14 22:07:18 · 212 阅读 · 0 评论 -
线段树——区间更新——ZOJ - 1610
原题链接 ZOJ1610 Count the Colors Time Limit: 2 Seconds Memory Limit: 65536 KB原创 2017-08-12 11:43:16 · 242 阅读 · 0 评论 -
ZOJ - 2724 Windows Message Queue——优先队列
Windows Message Queue Time Limit: 2 Seconds Memory Limit: 65536 KB Message queue is the basic fundamental of windows system. For each process, the system maintains a message queue. If som原创 2017-09-12 20:56:22 · 282 阅读 · 0 评论 -
ZOJ - 1610 Count the Colors —— 区间更新 点查询
Count the Colors Time Limit: 2 Seconds Memory Limit: 65536 KB Painting some colored segments on a line, some previously painted segments may be covered by some the subsequent ones. Your ta原创 2017-09-20 22:00:17 · 165 阅读 · 0 评论 -
ZOJ - 2859 Matrix Searching —— 二维线段树
Matrix Searching Time Limit: 10 Seconds Memory Limit: 32768 KB Given an n*n matrix A, whose entries Ai,j are integer numbers ( 1 <= i <= n, 1 <= j <= n ). An operation FIND the min...原创 2018-07-27 19:18:35 · 230 阅读 · 0 评论 -
ZOJ - 2836 Number Puzzle —— 容斥原理
题意: 问1到m之间有多少个数能被序列的任意一个数整除 思路: 容斥,序列最多只有10个,用二进制优化一下,跑一遍容斥 #include <iostream> #include <cstdio> #include <algorithm> #include <cstring> #include <queue> #include &...原创 2018-08-30 13:53:01 · 218 阅读 · 0 评论