POJ 1028 字符串
来源:互联网 发布:淘宝网上买药可靠吗 编辑:程序博客网 时间:2024/05/29 04:01
题意:
浏览网页,这里有几种操作:
BACK: Push the current page on the top of the forward stack. Pop the page from the top of the backward stack, making it the new current page. If the backward stack is empty, the command is ignored.
FORWARD: Push the current page on the top of the backward stack. Pop the page from the top of the forward stack, making it the new current page. If the forward stack is empty, the command is ignored.
VISIT : Push the current page on the top of the backward stack, and make the URL specified the new current page. The forward stack is emptied.
QUIT: Quit the browser.
思路:模拟.设置一个字符串数组,用一个指针指向当前指向的网页,根据操作移动,唯一注意的是:执行VISIT时,前面的网页清空.
代码:
- POJ 1028 字符串
- POJ-1028(字符串模拟)
- POJ 2159 字符串加密
- POJ 2803 字符串识别
- POJ-1002(字符串+排序)
- poj 1002 字符串
- POJ 1056 字符串
- poj字符串总结
- poj 1002 string字符串
- poj 1002 (字符串基础)
- POJ 2176 Folding (字符串)
- POJ 1200 字符串hash
- POJ 3981 字符串替换
- POJ 1035 字符串
- poj 2192 字符串匹配
- poj 3356 字符串编辑
- poj 3602-字符串模拟
- POJ 字符串对应
- 诚征大家的意见
- 把思路占为己有
- 体验Github的Gist共享代码段
- perl local my our 的前世今生
- java与云计算
- POJ 1028 字符串
- css hack
- 【程序人生】阅读代码
- Managed Services for Windows Mobile
- 如何在Java应用程序中动态分配CPU资源
- JFreeChart
- Linux环境架设Samba服务器 实现网络互访
- 微博上看到的,哈哈哈
- 串口编程笔记:函数和结构体