摘要:
对于给定的一个二叉树的先序遍历和后序遍历,输出有多少种满足条件的二叉树。两棵二叉树不同当且仅当对于某个x,x的左儿子编号不同或x的右儿子编号不同。 对于给定的一个二叉树的先序遍历和后序遍历,输出有多少种满足条件的二叉树。两棵二叉树不同当且仅当对于某个x,x的左儿子编号不同或x的右儿子编号不同。 In 阅读全文
摘要:
A. Book Reading time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Recently Luba bought a v 阅读全文
摘要:
2419: Ferry Loading II Time Limit(Common/Java):1000MS/10000MS Memory Limit:65536KByteTotal Submit: 4 Accepted:3 Description Before bridges were common 阅读全文
摘要:
Cut Cut 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 32768K,其他语言65536K64bit IO Format: %lld 题目描述 给你一个长度为n的序列,你每次可以将一个序列分割成两个连续的的子序列,分割的代价为原序列的总和。现在允许你在初始时将序列重新排列一次。 阅读全文
摘要:
A. Borya's Diagnosis time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output It seems that Borya 阅读全文
摘要:
数学?计算几何?物理?这个还是很轻松的。 353: Billiard Time Limit(Common/Java):1000MS/10000MS Memory Limit:65536KByteTotal Submit: 9 Accepted:4 Description In a billiard 阅读全文
摘要:
A. Alex and broken contest time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output One day Alex 阅读全文
摘要:
2446: Mint Time Limit(Common/Java):2000MS/20000MS Memory Limit:65536KByteTotal Submit: 4 Accepted:3 Description The Royal Canadian Mint has commission 阅读全文
摘要:
先把代码扔上来 E. Field of Wonders time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Polycarpus t 阅读全文
摘要:
2710: 过河 Time Limit(Common/Java):1000MS/10000MS Memory Limit:65536KByteTotal Submit: 32 Accepted:7 Description 在河上有一座独木桥,一只青蛙想沿着独木桥从河的一侧跳到另一侧。在桥上有一些石子 阅读全文
摘要:
3198: 区间和 Time Limit(Common/Java):1000MS/3000MS Memory Limit:65536KByteTotal Submit: 643 Accepted:202 Description 给定n个数据,有两个操作,加减其中的一个数据,当然还可查询在某段数据的和 阅读全文
摘要:
2017: N-Credible Mazes Time Limit(Common/Java):1000MS/10000MS Memory Limit:65536KByteTotal Submit: 6 Accepted:0 Description An n-tersection is defined 阅读全文
摘要:
这个是NOIP的提高组的题 4804: 树网的核 Time Limit(Common/Java):1000MS/3000MS Memory Limit:65536KByteTotal Submit: 5 Accepted:4 Description 设T=(V, E, W) 是一个无圈且连通的无向图 阅读全文
摘要:
一场挺简单的CF,但是我打炸了啊 A. Search for Pretty Integers time limit per test 1 second memory limit per test 256 megabytes input standard input output standard o 阅读全文
摘要:
A. Trip For Meal time limit per test 1 second memory limit per test 512 megabytes input standard input output standard output A. Trip For Meal time li 阅读全文
摘要:
2541: Paper Cutting Time Limit(Common/Java):1000MS/10000MS Memory Limit:65536KByteTotal Submit: 1 Accepted:1 Description ACM managers need business ca 阅读全文
摘要:
喜欢想飞啊,毕竟这里的题目还都算挺好的中文题,不过做英文题久了还是感觉英文题更好理解一点 反蝴蝶效应 反蝴蝶效应 时间限制:1秒 空间限制:65536K 题目描述 一只南美洲亚马孙河流域热带雨林中的蝴蝶,偶尔扇动几下翅膀,可以在两周以后引起美国德克萨斯州的一场龙卷风。――蝴蝶效应由于这个理论的存在, 阅读全文
摘要:
昨晚因为有点事就去忙了,没打后悔啊 A - XXFESTIVAL Time limit : 2sec / Memory limit : 256MB Score : 100 points Problem Statement Rng is going to a festival. The name of 阅读全文
摘要:
题目1 : 提取用户名 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 在现在的各种互联网应用中,在一段文字中使用'@'字符来提起一名用户是流行的做法。 例如: "@littleho submitted his code 30 times before he got p 阅读全文
摘要:
A. Between the Offices time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output As you may know, 阅读全文