码迷,mamicode.com
首页 >  
搜索关键字:input/output error出错问题    ( 1738个结果
633. Sum of Square Numbers
Given a non-negative integer c, your task is to decide whether there're two integers a and b such that a2 + b2 = c. Example 1: Input: 5 Output: True E... ...
分类:其他好文   时间:2017-12-03 12:50:14    阅读次数:141
【BZOJ1453】[Wc]Dface双面棋盘 线段树+并查集
【BZOJ1453】[Wc]Dface双面棋盘 Description Input Output Sample Input Sample Output HINT 题解:话说看到题的第一反应其实是LCT。。。还是学学正解的写法吧(虽然复杂度不如LCT)。 我们用线段树维护所有的行,每个叶子节点都代表一 ...
分类:其他好文   时间:2017-12-02 17:49:55    阅读次数:463
Codeforces Round #109 (Div. 2) A. I_love_%username%【打擂台算法/满足当前数字在已经出现的数字的最大值和最小值之间的个数】
A. I_love_%username% time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Vasya adores sport ...
分类:编程语言   时间:2017-12-01 13:31:47    阅读次数:265
bzoj1433
1433: [ZJOI2009]假期的宿舍 Description Input Output Sample Input 1 3 1 1 0 0 1 0 0 1 1 1 0 0 1 0 0 Sample Output ? ? HINT 对于30% 的数据满足1 ≤ n ≤ 12。对于100% 的数据满 ...
分类:其他好文   时间:2017-11-30 23:30:06    阅读次数:194
bzoj1565
1565: [NOI2009]植物大战僵尸 Description Input Output 仅包含一个整数,表示可以获得的最大能源收入。注意,你也可以选择不进行任何攻击,这样能源收入为0。 Sample Input 3 2 10 0 20 0 -10 0 -5 1 0 0 100 1 2 1 10 ...
分类:其他好文   时间:2017-11-29 18:31:18    阅读次数:141
Codeforces Round #448 (Div. 2) B. XK Segments【进制思维/排序】
B. XK Segments time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. XK Segments time limit ...
分类:编程语言   时间:2017-11-27 18:44:17    阅读次数:158
【Codeforces858F】Wizard's Tour [构造]
Wizard's Tour Description Input Output Sample Input 4 5 1 2 3 2 2 4 3 4 4 1 Sample Output 2 4 1 2 4 3 2 HINT Solution 首先,一个连通块的答案可以是floor(m / 2)。考虑如何构 ...
分类:其他好文   时间:2017-11-25 18:27:24    阅读次数:166
leetCode-Max Consecutive Ones
Description: Given a binary array, find the maximum number of consecutive 1s in this array. Example1: Input: [1,1,0,1,1,1] Output: 3 Explanation: The ...
分类:其他好文   时间:2017-11-21 20:54:42    阅读次数:113
1298 圆与三角形
给出圆的圆心和半径,以及三角形的三个顶点,问圆同三角形是否相交。相交输出"Yes",否则输出"No"。(三角形的面积大于0)。 Input Output Input示例 Output示例 ...
分类:其他好文   时间:2017-11-18 23:45:23    阅读次数:457
1265 四点共面
给出三维空间上的四个点(点与点的位置均不相同),判断这4个点是否在同一个平面内(4点共线也算共面)。如果共面,输出"Yes",否则输出"No"。 Input Output Input示例 Output示例 ...
分类:其他好文   时间:2017-11-18 23:34:18    阅读次数:168
1738条   上一页 1 ... 81 82 83 84 85 ... 174 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!