
【STL】
文章平均质量分 88
Gijkstra
Can we do better?
展开
-
SCU4490: Lisp em(STL)
Description There are two lists and they may be intersected with each other. You must judge if they are intersected and find the first node they have in common. Input The first line is the number原创 2017-03-19 08:04:23 · 289 阅读 · 0 评论 -
CSU1335~高桥和低桥(STL~lower_bound+DP)
1335: 高桥和低桥 Submit Page Summary Time Limit: 1 Sec Memory Limit: 128 Mb Submitted: 1045 Solved: 307 Description 有个脑筋急转弯是这样的:有距离很近的一高一低两座桥,两次洪水之后高桥被淹了两次,低桥却只被淹了一次,为什原创 2017-04-05 17:10:42 · 294 阅读 · 0 评论 -
2017 Wuhan University Programming Contest 现场赛G. Room(set+思路)
问题 G: Room 时间限制: 1 Sec 内存限制: 64 MB 提交: 11 解决: 8 [提交][状态][讨论版] 题目描述 The ACM / ICPC team has a large room, the length and width of which is 10^6 . However, the guys in ACM / ICPC teams are to原创 2017-04-17 21:06:57 · 443 阅读 · 0 评论 -
nyoj1272~表达式求值(stack+模拟)
表达式求值 时间限制:1000 ms | 内存限制:65535 KB 难度:3 描述假设表达式定义为: 1. 一个十进制的正整数 X 是一个表达式。 2. 如果 X 和 Y 是 表达式,则 X+Y, X*Y 也是表达式; *优先级高于+. 3. 如果 X 和 Y 是 表达式,则 函数 Smax(X,Y)也是表达式,其值为:先分别求出 X ,Y 值的各位数字之和,再从中原创 2017-04-23 11:44:06 · 290 阅读 · 0 评论