
Code daily
文章平均质量分 54
无名05627
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
NEUQOJ-1109
题目 Input Output Sample Input Sample Output 题目 Windbreaker was planning to send his friends some necklaces as New Year gifts. To show sincerity ,he decided to make the necklaces all by h...原创 2018-06-08 00:04:42 · 361 阅读 · 0 评论 -
栈——中缀、后缀表达式
利用栈计算后缀表达式 #include <iostream> #include <cstring> #include <stack> using namespace std; int main() { stack<int> s; char str[50]; cin.getline( str,sizeof(原创 2018-08-09 20:14:58 · 245 阅读 · 0 评论 -
PAT_1003
“答案正确”是自动判题系统给出的最令人欢喜的回复。本题属于 PAT 的“答案正确”大派送 —— 只要读入的字符串满足下列条件,系统就输出“答案正确”,否则输出“答案错误”。 得到“答案正确”的条件是: 字符串中必须仅有 P、 A、 T这三种字符,不可以包含其它字符; 任意形如 xPATx 的字符串都可以获得“答案正确”,其中 x 或者是空字符串,或者是仅由字母 A 组成的字符串; ...原创 2018-09-10 12:01:46 · 269 阅读 · 0 评论