07 2018 档案

摘要:#include <bits/stdc++.h>using namespace std;#define maxn 63500char a[maxn];int cnt=1,ca1,ca2,cb1,cb2;int main(){ cin>>a[cnt]; if(a[cnt]=='W') ca1++; i 阅读全文
posted @ 2018-07-19 20:55 TimDucan 阅读(293) 评论(0) 推荐(0)
摘要:#include using namespace std; #define maxn 100010 int n,m,k=1,c[maxn]; bool a[maxn],b[maxn]; string s[maxn]; inline int in(){ //ios::sync_with_stdio(false); cin>>n>>m; for(int i=1;i>a[i]... 阅读全文
posted @ 2018-07-16 23:35 TimDucan 阅读(168) 评论(0) 推荐(0)
摘要:#include <bits/stdc++.h>using namespace std;const int maxn=10010;int n,sum,a[maxn],ans;inline int read(){ int num=0,f=1; char c=getchar(); while(!isdi 阅读全文
posted @ 2018-07-16 21:50 TimDucan 阅读(131) 评论(0) 推荐(0)
摘要:小晨的电脑上安装了一个机器翻译软件,他经常用这个软件来翻译英语 文章。 题目描述 这个翻译软件的原理很简单,它只是从头到尾,依次将每个英文单词用 对应的中文含义来替换。对于每个英文单词,软件会先在内存中查找这 个单词的中文含义,如果内存中有,软件就会用它进行翻译;如果内存 中没有,软件就会在外存中的 阅读全文
posted @ 2018-07-14 19:28 TimDucan 阅读(454) 评论(0) 推荐(0)
摘要:change information in person: 1.多项式中自变量为x ,从左到右按照次数递减顺序给出多项式。 2.多项式中只包含系数不为 0 的项。 3.如果多项式 n 次项系数为正,则多项式开头不出现“ + ”号,如果 多项式 n 次项系 数为负,则多项式以“ - ”号开头。 4. 1)对于不是最高次的项,以“ + ”号或者“ - ”号连接此项与前一 项,分别表... 阅读全文
posted @ 2018-07-13 20:01 TimDucan 阅读(324) 评论(0) 推荐(0)