最近突然感觉状态不佳,可能是天冷的缘故?赛后来做牡丹江赛区的题目【A】3819 Average Score -- 签到题【B】【C】【D】【E】【F】【G】【H】【I】【J】【K】3829 Known Notation -- 贪心 + 模拟【A】3819 Average Score -- 签到题Av...
分类:
其他好文 时间:
2014-10-17 00:28:03
阅读次数:
388
Known Notation
Time Limit: 2 Seconds Memory Limit: 65536 KB
Do you know reverse Polish notation (RPN)? It is a known notation in the area of mathematics and computer science. It is also k...
分类:
其他好文 时间:
2014-10-16 03:40:51
阅读次数:
191
DescriptionDo you know reverse Polish notation (RPN)? It is a known notation in the area of mathematics and computer science. It is also known as post...
分类:
其他好文 时间:
2014-10-16 00:15:21
阅读次数:
587
Stockbroker Grapevine
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 27431
Accepted: 15201
Description
Stockbrokers are known to overreact to rumours. Y...
分类:
其他好文 时间:
2014-10-15 19:55:41
阅读次数:
180
乱搞:
1.数字的个数要比*的个数多一个,如果数字不足需要先把数字补满
2.最优的结构应该是数字都在左边,*都在右边
3.从左往右扫一遍,遇到数字+1,遇到*-1,如果当前值
Known Notation
Time Limit: 2 Seconds Memory Limit: 65536 KB
Do you know reverse Polish no...
分类:
其他好文 时间:
2014-10-15 11:30:10
阅读次数:
222
1 $ rvm info 2 $ rvm info 1.9.2 3 4 $ rvm list known 5 $ rvm install 1.9.2 # 安装 ruby-1.9.2 6 $ rvm ...
分类:
其他好文 时间:
2014-10-15 02:08:19
阅读次数:
314
Known Notation
Time Limit: 2 Seconds Memory Limit: 131072 KB
Do you know reverse Polish notation (RPN)? It is a known notation in the area of mathematics and computer science. It is also kn...
分类:
其他好文 时间:
2014-10-15 00:11:49
阅读次数:
297
Known NotationTime Limit: 2 Seconds Memory Limit: 65536 KBDo you know reverse Polish notation (RPN)? It is a known notation in the area of mathematic....
分类:
其他好文 时间:
2014-10-14 23:04:39
阅读次数:
220
题意:给出一个字符串,有两种操作: 1.插入一个数字 2.交换两个字符 问最少多少步可以把该字符串变为一个后缀表达式(操作符只有*)。解法:仔细观察,发现如果数字够的话根本不用插入,数字够的最低标准为'*'的个数+1,因为最优是 '12*3*..' 这种形式,所以先判断够不够,不够就补,然后从左往....
分类:
其他好文 时间:
2014-10-14 21:14:09
阅读次数:
158
Known Notation
Time Limit: 2 Seconds Memory Limit: 65536 KB
Do you know reverse Polish notation (RPN)? It is a known notation in the area of mathematics and computer science. It is also k...
分类:
其他好文 时间:
2014-10-13 21:59:07
阅读次数:
292