摘要:
G.LCS Revised The longest common subsequence is a well known DP problem: given two strings A and B, one has to compute the maximum length of a subsequ 阅读全文
posted @ 2018-01-22 16:04
ZERO-
阅读(289)
评论(0)
推荐(0)
Codeforces Gym100735 E.Restore (KTU Programming Camp (Day 1) Lithuania, Birˇstonas, August 19, 2015)
摘要:
E - Restore Given a matrix A of size N * N. The rows are numbered from 0 to N-1, the columns are numbered from 0 to N-1. In this matrix, the sums of e 阅读全文
posted @ 2018-01-22 16:00
ZERO-
阅读(251)
评论(0)
推荐(0)
摘要:
日常训练题解 D.Triangle Formation You are given N wooden sticks. Your task is to determine how many triangles can be made from the given sticks without brea 阅读全文
posted @ 2018-01-22 15:59
ZERO-
阅读(436)
评论(0)
推荐(0)
摘要:
最近做到好多概率,组合数,全排列的题目,本咸鱼不会啊,我概率论都挂科了。。。 这个题学到了一个康托展开,有点用,瞎写一下。。。 康托展开: 适用对象:没有重复元素的全排列。 把一个整数X展开成如下形式: X=a[n]*(n-1)!+a[n-1]*(n-2)!+...+a[i]*(i-1)!+...+ 阅读全文
posted @ 2018-01-22 15:31
ZERO-
阅读(677)
评论(0)
推荐(0)
摘要:
I-找数字个数 链接:https://www.nowcoder.com/acm/contest/67/I来源:牛客网、时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld I-找数字个数 题目描述 lulu喜欢 阅读全文
posted @ 2018-01-22 11:35
ZERO-
阅读(270)
评论(0)
推荐(0)
摘要:
H-方块与收纳盒 链接:https://www.nowcoder.com/acm/contest/67/H来源:牛客网时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 32768K,其他语言65536K64bit IO Format: %lld 题目描述 现在有一个大小n*1的收纳盒,我 阅读全文
posted @ 2018-01-22 11:33
ZERO-
阅读(260)
评论(0)
推荐(0)
摘要:
F-大吉大利,今晚吃鸡——跑毒篇 链接:https://www.nowcoder.com/acm/contest/67/F来源:牛客网时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 32768K,其他语言65536K64bit IO Format: %lld 题目描述 现在有一款很火的 阅读全文
posted @ 2018-01-22 11:31
ZERO-
阅读(264)
评论(0)
推荐(0)
摘要:
这场打的超级烂,代码写的错误很智障,A题忘记写负号,F想的少了一个1,I写的也很智障,输入忘记加&,程序直接跑崩了。。。 A-大吉大利,今晚吃鸡——枪械篇 链接:https://www.nowcoder.com/acm/contest/67/A来源:牛客网时间限制:C/C++ 1秒,其他语言2秒 空 阅读全文
posted @ 2018-01-22 11:29
ZERO-
阅读(776)
评论(0)
推荐(0)

浙公网安备 33010602011771号