”luogu“ 的搜索结果

     2、将如果将所有功能都写进main()函数中的话,就会显得整体代码的排版非常冗杂,也不利于后期的调试排查,所以我每一个功能都对应了一个子函数。3、因为我今天是第一次用CPP写题,所以对于一些新的函数,新的表达...

     使用方式:命令行格式luogu++ fileplace解释器会自动找到.lgpp源代码和.in栈初始化(可以没有),生成输出至.out .in格式: A data0 data1 ... datan C data0 data1 ... datam 其中data0〜datan按从栈底到栈顶的...

     luogu-card是一个动态生成洛谷用户数据卡片的工具,可以展示自己的做题情况。可以用于个人主页、博客、github等可以插入图片的地方。 TODO 修复获取数据错误和用户设置数据不可见的bug 增加黑暗模式 增加咕值卡片...

     luogu插件:鼠标点击特效。 // ==UserScript== // @name 鼠标点击特效 ...// @version 0.1 // @description try to take over the world! // @author You // @match https://www.luogu.com.cn/* // @icon data:i

Luogu p1888

标签:   java  算法

     Cavets: The most difficult part of it is the fraction reduction process, that is, finding the greatest common divisor(gcd) of the numerator and denominator, and then dividing them using the gcd. ...

     领地选择 - 洛谷https://www.luogu.com.cn/problem/P2004 题目描述 作为在虚拟世界里统帅千军万马的领袖,小 Z 认为天时、地利、人和三者是缺一不可的,所以,谨慎地选择首都的位置对于小 Z 来说是非常重要的。 ...

     语文成绩 - 洛谷https://www.luogu.com.cn/problem/P2367 题目背景 语文考试结束了,成绩还是一如既往地有问题。 题目描述 语文老师总是写错成绩,所以当她修改成绩的时候,总是累得不行。她总是要一遍遍地给...

Luogu p2181

标签:   java  算法

     Basic idea: Two and only two lines can create an intersection according to the instruction. So it is basically a permutations and combinations question: how many sets of 4 vertex does the graph have?...

     dalao们的博客a http://hzwer.com //Orz %%% https://oi-wiki.org //Orz https://www.cnblogs.com/-guz/p/9752349.html //Orz https://stevebraveman.github.io //Orz https://www.cnblog...

     luogu P2014 选课 42行代码或成此题最X题解? 一看:树形dp f[i][j]表示以i为根的子树选了j个课所获得的最大学分 等等,课可以重复选! 要用背包搞搞喽 每次枚举子节点 对每个子节点先进行树形dp 再对父节点进行背包...

10  
9  
8  
7  
6  
5  
4  
3  
2  
1