码迷,mamicode.com
首页 >  
搜索关键字:水题    ( 4171个结果
图论水题但是没想到
Note that this is the first problem of the two similar problems. You can hack this problem only if you solve both problems. You are given a tree with  ...
分类:其他好文   时间:2019-08-01 20:13:01    阅读次数:81
51nod - 1586 - 约数和 - 水题
https://www.51nod.com/Challenge/Problem.html problemId=1586 一眼看过去居然一点思路都没有的,一言不合就打表,打贡献表。 cpp include using namespace std; typedef long long ll; int n ...
分类:其他好文   时间:2019-07-31 09:13:05    阅读次数:96
SDNU 1377.Problem C: Jolly Jumpers(水题)
Description Description Problem C: Jolly Jumpers A sequence of n > 0 integers is called a jolly jumper if the absolute values of the difference betwee ...
分类:其他好文   时间:2019-07-27 19:53:40    阅读次数:111
题(liu_runda的神题)(卡特兰数,组合数)
考场的SB经验不再分享 case 0: 一道组合计数的水题,具体不再讲可以看以前的相似题 case 1: 很明显的卡特兰计数,我们把长度为n的序列看成01串 由此可知我们需要满足从1——n中前缀1的数量不少于前缀0的数量 case 2: 满足可以在坐标轴上移动 设f[i]表示第i步回到原点,我们枚举 ...
分类:其他好文   时间:2019-07-27 15:45:31    阅读次数:131
SDNU 1427.分解质因数(水题)
Description Description 问题描述 求出区间[a,b]中所有整数的质因数分解。 输入格式 输入两个整数a,b。 输出格式 每行输出一个数的分解,形如k=a1*a2*a3...(a1< =a2< =a3...,k也是从小到大的)(具体可看样例) 样例输入 3 10 样例输出 3= ...
分类:其他好文   时间:2019-07-26 21:29:15    阅读次数:122
SDNU 1467.杨辉三角形(水题)
Description Description 杨辉三角形又称Pascal三角形,它的第i+1行是(a+b)i的展开式的系数。 它的一个重要性质是:三角形中的每个数字等于它两肩上的数字相加。 下面给出了杨辉三角形的前4行: 1 1 1 1 2 1 1 3 3 1 给出n,输出它的前n行。 杨辉三角形 ...
分类:其他好文   时间:2019-07-26 14:47:22    阅读次数:89
P1387 最大正方形
另一道线性dp水题 ...
分类:其他好文   时间:2019-07-24 13:35:16    阅读次数:81
P2782 友好城市
线性dp水题 ...
分类:其他好文   时间:2019-07-24 13:26:34    阅读次数:72
Educational Codeforces Round 69 (Rated for Div. 2)
题目传送门 A.DIY Wooden Ladder 水题 #include<bits/stdc++.h> #define clr(a,b) memset(a,b,sizeof(a)) using namespace std; typedef long long ll; const int maxn= ...
分类:其他好文   时间:2019-07-23 15:12:01    阅读次数:132
【Gym - 100923A】Por Costel and Azerah(思维水题)
Por Costel and Azerah Descriptions 给你n个数 问你,有多少个子序列 的和是偶数 Example Input 233 10 124 2 Output 33 题目链接 https://vjudge.net/problem/Gym-100923A 恶心死了 freope ...
分类:其他好文   时间:2019-07-23 00:35:25    阅读次数:131
4171条   上一页 1 ... 31 32 33 34 35 ... 418 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!