(串的存储结构4.5.1)POJ 1488 TEX Quotes(同一字符被交替替换+读取所有字符并对特定字符进行处理)
来源:互联网 发布:java if else switch 编辑:程序博客网 时间:2024/06/05 08:45
/* * POJ_1488.cpp * * Created on: 2013年10月25日 * Author: Administrator */#include <iostream>#include <cstring>#include <cstdio>using namespace std;const char p[][20]={"``","''"};int main(){char c ;int k = 0;while((c = getchar()) !=EOF){if(c == '"'){printf("%s",p[k]);k =! k;}else{putchar(c);}}return 0;}
- (串的存储结构4.5.1)POJ 1488 TEX Quotes(同一字符被交替替换+读取所有字符并对特定字符进行处理)
- poj TEX Quotes 1488 (简单字符替换)
- <字符处理> UVA 272 Tex Quotes
- POJ 1488 TEX Quotes(我的水题之路——暴水,字符转换)
- 经典第三章 例题 3-1 UVA 272 TEX Quotes(字符的处理)
- poj 1488 TEX Quotes(简单的串)
- sed替换特定字符
- 交替排列的字符
- 交替的字符
- Webconfig的读取 字符替换
- POJ 1488 TEX Quotes
- [POJ]1488 TEX Quotes
- POJ 1488 TEX Quotes
- poj 1488 TEX Quotes
- poj 1488 TEX Quotes
- POJ-1488TEX Quotes
- POJ 1488 TEX Quotes
- poj 1488 TEX Quotes
- IOS基于APNS消息推送原理与实现(JAVA后台)
- __FUNCTION__
- Java中获得一个Class对象的方法
- 旅行商问题、斯坦纳树问题小结
- 每天学点Linux--(curses.h的安装和基本使用)
- (串的存储结构4.5.1)POJ 1488 TEX Quotes(同一字符被交替替换+读取所有字符并对特定字符进行处理)
- 编写asp.net接口小结(痛苦的回忆)
- linux下MySQL基础
- C++库研究笔记——程序的本地化
- 半数集问题
- HDU 1527 取石子游戏 威佐夫博奕
- java提高篇(七)-----详解内部类
- 【leetcode】Candy
- String, StringBuffer, StringBuilder拼接字符串的执行效率比较