06 2018 档案
摘要:链接:https://www.nowcoder.com/acm/contest/124/I来源:牛客网时间限制:C/C++ 2秒,其他语言4秒空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %lld题目描述 01背包是...
阅读全文
摘要:用C语言来判断是否满足自反,反自反,非自反,对称,反对称,非对称和传递性 也不知道写的对不对。没有大量验证,但是随便找的一些关系测试的没毛病,如果错了,欢迎各位大佬留言 #include<bits/stdc++.h> const int maxn=1e3+10; int a[maxn][maxn];
阅读全文
摘要:链接:https://www.nowcoder.com/acm/contest/124/C来源:牛客网时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %lld题目描述小新在学C语言...
阅读全文
摘要:The SuspectsTime Limit: 1000MS Memory Limit: 20000KTotal Submissions: 48327 Accepted: 23122DescriptionSevere acute respiratory syndrom...
阅读全文
摘要:Wireless NetworkTime Limit: 10000MS Memory Limit: 65536KTotal Submissions: 36363 Accepted: 15086DescriptionAn earthquake takes place i...
阅读全文
摘要:确定比赛名次Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 34040 Accepted Submis...
阅读全文
摘要:跳舞毯Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7378 Accepted Submission...
阅读全文
摘要:最大连续子序列Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 38001 Accepted Submi...
阅读全文
摘要:折线分割平面Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 36918 Accepted Submis...
阅读全文
摘要:A. A Blend of Springtimetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputWhen the ...
阅读全文
摘要:B. Micro-Worldtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou have a Petri d...
阅读全文
摘要:1089 最长回文子串 V2(Manacher算法) 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 收藏 关注回文串是指aba、abba、cccbccc、aaaa这种左右对称的字符串。输入一个字符串Str,输出Str里最长回文子串的长度...
阅读全文
摘要:1088 最长回文子串 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 收藏 关注回文串是指aba、abba、cccbccc、aaaa这种左右对称的字符串。输入一个字符串Str,输出Str里最长回文子串的长度。Input输入Str(Str...
阅读全文
摘要:1081 子段求和 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 收藏 关注给出一个长度为N的数组,进行Q次查询,查询从第i个元素开始长度为l的子段所有元素之和。例如,1 3 7 9 -1,查询第2个元素开始长度为3的子段和,1 {3 ...
阅读全文