码迷,mamicode.com
首页 >  
搜索关键字:input/output error出错问题    ( 1738个结果
codeforce1029B B. Creating the Contest(简单dp,简单版单调栈)
B. Creating the Contest time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Creating the C ...
分类:其他好文   时间:2018-08-28 15:29:15    阅读次数:407
AIM Tech Round 5C. Rectangles 思维
C. Rectangles time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Rectangles time limit p ...
分类:其他好文   时间:2018-08-28 14:27:05    阅读次数:139
[51nod 1577] 异或凑数
从左到右一共n个数,数字下标从1到n编号。 一共m次询问,每次询问是否能从第L个到第R个数中(包括第L个和第R个数)选出一些数使得他们异或为K。 数据量比较大。 输入请用快速读入 输出请用puts 输出请用puts 输出请用puts Input Output Input示例 Output示例 ...
分类:其他好文   时间:2018-08-26 11:49:04    阅读次数:104
JZOJ 5849 d
Description Input Output Data Constraint 做法:考虑贪心使得mina*minb最大,先以a为关键字排序,然后枚举删除最小的0~m个ai,对应删除最小的bi,然后更新答案。 1 #include <cstdio> 2 #include <cstring> 3 # ...
分类:其他好文   时间:2018-08-26 00:06:01    阅读次数:159
Codeforces Round #506 (Div. 3)B.Creating the Contest(dp)
B. Creating the Contest time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Creating the C ...
分类:其他好文   时间:2018-08-25 14:17:13    阅读次数:192
Codeforces Round #506 (Div. 3) C. Maximal Intersection
C. Maximal Intersection time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output C. Maximal Inter ...
分类:其他好文   时间:2018-08-25 14:03:15    阅读次数:126
HDU3746 Cyclic Nacklace KMP求循环节
Input Output Sample Input Sample Output 同类题目:HDU1358 #include <bits/stdc++.h> using namespace std; int n; char a[1000005]; int nxt[1000005]; void getn ...
分类:其他好文   时间:2018-08-24 17:25:11    阅读次数:187
B1786 [Ahoi2008]Pair 配对 逆序对+dp
这个题有点意思,一开始没想到用dp,没啥思路,后来看题解才恍然大悟:k才1~100,直接枚举每个-1点的k取值进行dp就行了。先预处理出来sz[i][j] i左边的比j大的数,lz[i][j] i右边比j小的数。然后就没啥了。 题干: Description Input Output Sample ...
分类:其他好文   时间:2018-08-23 19:15:55    阅读次数:152
[Math_Medium]462. Minimum Moves to Equal Array Elements II
"原题462. Minimum Moves to Equal Array Elements II" 题目大意: 给你一串数字,对于每个数字,一次性可以移动一步(数值增加1或者减小1),请问如何在最小的步伐数内使所有的数字都相等 Example Input: [1,2,3] Output: 2 Exp ...
分类:其他好文   时间:2018-08-21 21:44:54    阅读次数:144
Codeforces Round #505 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) -B C(GCD,最长连续交替序列)
B. Weakened Common Divisor time limit per test 1.5 seconds memory limit per test 256 megabytes input standard input output standard output B. Weakened ...
分类:其他好文   时间:2018-08-20 11:32:25    阅读次数:429
1738条   上一页 1 ... 55 56 57 58 59 ... 174 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!