摘要: "原文地址" Problem Portal Portal1: "Luogu" Portal2: "LibreOJ" Portal3: "Vijos" Description 在$Mars$星球上,每个$Mars$人都随身佩带着一串能量项链。在项链上有NN颗能量珠。能量珠是一颗有头标记与尾标记的珠子, 阅读全文
posted @ 2019-02-25 21:01 XiaoHuang666 阅读(176) 评论(0) 推荐(0) 编辑
摘要: "原文地址" Problem Portal Portal1: "BZOJ" Portal2: "Luogu" Description 某人读论文,一篇论文是由许多单词组成。但他发现一个单词会在论文中出现很多次,现在想知道每个单词分别在论文中出现多少次。 Input 第一个整数$n$,表示有多少个单词 阅读全文
posted @ 2019-02-25 21:00 XiaoHuang666 阅读(148) 评论(0) 推荐(0) 编辑
摘要: "原文地址" Problem Portal Portal1: "UVa" Portal2: "Luogu" Portal3: "Vjudge" Description Given a directed graph $\text{G}$, consider the following transfor 阅读全文
posted @ 2019-02-25 20:57 XiaoHuang666 阅读(205) 评论(0) 推荐(0) 编辑