随笔分类 - 竞赛
摘要:"2019 Multi University Training Contest 5" 补题链接: "2019 Multi University Training Contest 5" 罚时爆炸 自闭场 1004 "equation" "(HDU 6627)" 题意: 给定一个整数 $C$ 和 $N$
阅读全文
摘要:"2019 Multi University Training Contest 4" 补题链接: "2019 Multi University Training Contest 4" 1001 AND Minimum Spanning Tree "(HDU 6614)" 题意 给定一个有 $N$ 个
阅读全文
摘要:"2019 Multi University Training Contest 3" 补题链接: "2019 Multi University Training Contest 3" 1002 Blow up the city "(HDU 6604)" 题意 给定 $n$ 个点和 $m$ 条边的有向
阅读全文
摘要:"2019 Multi University Training Contest 2" 补题链接: "2019 Multi University Training Contest 2" 1005 Everything Is Generated In Equal Probability "(HDU 65
阅读全文
摘要:"2019 Multi University Training Contest 1" 补题链接: "2019 Multi University Training Contest 1" 1002 Operation "(HDU 6579)" 题意 给定包含 $n$ 个数的序列,$m$ 个询问。询问有两
阅读全文
摘要:题目链接: " 113. 最大异或和" 题目描述 这是一道模板题。 给由 $n$ 个数组成的一个可重集 $S$,每次给定一个数 $k$,求一个集合 $T \subseteq S$,使得集合 $T$ 在 $S$ 的所有非空子集的不同的异或和中,其异或和 $T_1\ xor\ T_2\ xor\ ...
阅读全文
摘要:题目链接: "HDU 3949" Problem Description XOR is a kind of bit operator, we define that as follow: for two binary base number A and B, let C=A XOR B, then
阅读全文
摘要:"Codeforces Round 113 (Div. 2)" 题目链接: "Polygons" You've got another geometrical task. You are given two non degenerate polygons $A$ and $B$ as vertex
阅读全文
摘要:题目链接: "公式题 (2)" 比赛链接: "华东交通大学2018年ACM“双基”程序设计竞赛" 题目描述 令f(n)=2 f(n 1)+3 f(n 2)+n,f(1)=1,f(2)=2 令g(n)=g(n 1)+f(n)+n n,g(1)=2 告诉你n,输出g(n)的结果,结果对1e9+7取模 输
阅读全文
摘要:题目链接: "POJ 3070" Problem Description In the Fibonacci integer sequence, $F_0 = 0$, $F_1 = 1$, and $F_n = F_{n − 1} + F_{n − 2}$ for $n \ge 2$. For exa
阅读全文
摘要:题目链接: "HDU 1575" Problem Description A为一个方阵,则Tr A表示A的迹(就是主对角线上各项的和),现要求Tr(A^k)%9973。 Input 数据的第一行是一个T,表示有T组数据。 每组数据的第一行有n(2 对应每组数据,输出Tr(A^k)%9973。 Sam
阅读全文
摘要:题目链接: "POJ 1269" Problem Description We all know that a pair of distinct points on a plane defines a line and that a pair of lines on a plane will int
阅读全文
摘要:题目链接: "POJ 3304" Problem Description Given n segments in the two dimensional space, write a program, which determines if there exists a line such that
阅读全文
摘要:比赛链接: "2019 年百度之星·程序设计大赛 初赛四" 题目链接: "HDU 6719 Strassen" ~~C++ 没写出来~~ 于是直接上 暴力。 好像可以用 。
阅读全文
摘要:题目链接: "POJ 2398" Problem Description Mom and dad have a problem: their child, Reza, never puts his toys away when he is finished playing with them. Th
阅读全文
摘要:题目链接: "POJ 2318" Problem Description Calculate the number of toys that land in each bin of a partitioned toy box. Mom and dad have a problem their chi
阅读全文
摘要:2019 杭电多校 10 1007 题目链接: "HDU 6697" 比赛链接: "2019 Multi University Training Contest 10" Problem Description The closest pair of points problem is a well
阅读全文
摘要:2019 杭电多校 10 1005 题目链接: "HDU 6695" 比赛链接: "2019 Multi University Training Contest 10" Problem Description The annual welcome party of the Department of
阅读全文
摘要:2019 杭电多校 10 1003 题目链接: "HDU 6693" 比赛链接: "2019 Multi University Training Contest 10" Problem Description Oipotato loves his girlfriend very much. Sinc
阅读全文
摘要:2019 杭电多校 1 1013 题目链接: "HDU 6590" 比赛链接: "2019 Multi University Training Contest 1" Problem Description After returning with honour from ICPC(Internati
阅读全文

浙公网安备 33010602011771号