摘要: 阅读全文
posted @ 2018-07-30 20:22 无言丶 阅读(58) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; stack<long long> S; long long x=1,a[260],n,m,t; string s; int main(){ getline(cin,s); for(int i=0;;i++){ 阅读全文
posted @ 2018-07-28 18:14 无言丶 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 1331【例1-2】后缀表达式的值 #include<bits/stdc++.h>using namespace std;int sta[101];char s[256]; int comp(char s[256]){ int i=0,top=0,x; while(i<=strlen(s)-2) { 阅读全文
posted @ 2018-07-26 20:20 无言丶 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 新建项目 Ctrl+shift+N新建网站 shift+Alt+N文件 Ctrl+N打开项目/解决方案 Ctrl+shift+O打开网站 shift+Alt+O打开文件 Ctrl+O保存当前文件 Ctrl+S全部保存 Ctrl+Shift+S添加新项 Ctrl+Shift+A添加现有项 Shift+ 阅读全文
posted @ 2018-07-25 18:46 无言丶 阅读(202) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h>(几乎万能) C/C++头文件一览 C、传统 C++#include <assert.h> //设定插入点#include <ctype.h> //字符处理#include <errno.h> //定义错误码#include <float.h> //浮点 阅读全文
posted @ 2018-07-25 12:46 无言丶 阅读(93) 评论(0) 推荐(0) 编辑
摘要: sizeof(类型):求出所占的空间(单位(字节)) s.size():s这个字符串的长度 strlen:同上(C) 阅读全文
posted @ 2018-07-24 16:55 无言丶 阅读(142) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>#include<string.h> using namespace std; string s; #include<iostream>#include<string.h> using namespace std; string s; int n,z,len,y, 阅读全文
posted @ 2018-07-24 13:11 无言丶 阅读(98) 评论(0) 推荐(0) 编辑