码迷,mamicode.com
首页 >  
搜索关键字:input/output error出错问题    ( 1738个结果
6441. 【GDOI2020模拟01.17】小 ω 维护序列
Description Input Output 输出到标准输出流中。 若干行,对于每个操作 1 和操作 5,输出一个数表示答案。 Sample Input Sample Input1 5 8 1 2 3 2 1 1 1 3 5 1 5 2 2 4 1 2 4 3 3 4 0 5 1 1 2 1 1 ...
分类:其他好文   时间:2020-01-18 11:03:59    阅读次数:88
6439. 【GDOI2020模拟01.17】小 ω 数排列
题目描述 Description Input Output Sample Input Sample Input1 4 10 3 6 2 9 Sample Input2 8 35 3 7 1 5 10 2 11 6 Sample Output Sample Output1 6 【样例 1 解释】 共有 ...
分类:其他好文   时间:2020-01-18 10:39:00    阅读次数:115
LeetCode 673. Number of Longest Increasing Subsequence 最长递增子序列的个数 (C++/Java)
题目: Given an unsorted array of integers, find the number of longest increasing subsequence. Example 1: Input: [1,3,5,4,7] Output: 2 Explanation: The t ...
分类:编程语言   时间:2020-01-17 19:04:48    阅读次数:77
6438. 【GDOI2020模拟01.16】树上的鼠(长链剖分)
题目描述 Description Input Output Sample Input 3 1 2 1 3 Sample Output 2 Explanation 只有连通块为整棵树时或只有一个点时小筄会输,其余情况小筄会赢。 Data Constraint 题解 一个连通块先手必败,当且仅当1在直径 ...
分类:其他好文   时间:2020-01-17 10:03:03    阅读次数:60
Codeforces 672D
D. Robin Hood time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output We all know the impressive ...
分类:其他好文   时间:2020-01-17 00:09:00    阅读次数:89
Codeforces 672C
C. Recycling Bottles time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output It was recycling da ...
分类:其他好文   时间:2020-01-16 18:56:42    阅读次数:72
[LeetCode] 9. Palindrome Number
回文数。题意是判断一个数字是否是回文数。这个题跟第7题非常类似,几乎是一样的做法。例子, Example 1: Input: 121 Output: true Example 2: Input: -121 Output: false Explanation: From left to right, ...
分类:其他好文   时间:2020-01-16 14:55:14    阅读次数:89
1304. Find N Unique Integers Sum up to Zero
Given an integer n, return any array containing n unique integers such that they add up to 0. Example 1: Input: n = 5 Output: [-7,-1,1,3,4] Explanatio ...
分类:其他好文   时间:2020-01-16 14:19:16    阅读次数:90
致摸鱼两千年后的你
题源 Input 125000000083559510 104166666578080702 Output 848357383 先不管香香鸡是什么,先来推个式子 我们记录钱可能情况钱的总数 答案就是钱的总数除以2^k f[1]=((f[0]*4)%mod+fastpow(2,i-1)%mod)%mo ...
分类:其他好文   时间:2020-01-15 19:08:34    阅读次数:68
[codeforces1284D]New Year and Conference 离散化+multiset【或排序+线段树】
【题目】:题目链接 time limit per test 2 seconds memory limit per test 1024 megabytes input standard input output standard output Filled with optimism, Hyunuk ...
分类:编程语言   时间:2020-01-15 13:57:05    阅读次数:77
1738条   上一页 1 ... 16 17 18 19 20 ... 174 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!