博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Round#534 div.2-B Game with string
阅读量:4657 次
发布时间:2019-06-09

本文共 615 字,大约阅读时间需要 2 分钟。

唔,第一次参加,掉了好多分。

http://codeforces.com/contest/1104/problem/B

不用考虑太多,string真的好厉害。

1 #include
2 #include
3 #include
4 #include
5 #include
6 #include
7 #include
8 #include
9 #include
10 #include
11 #include
12 #include
13 #define mem(a) memset(a,0,sizeof(a))14 #define LL long long15 using namespace std;16 const int N=1e2+5;17 int a[N],n;18 string s;19 int main()20 {21 getline(cin,s);22 int sum=0;23 for(size_t i=0;i
View Code

 

转载于:https://www.cnblogs.com/XXrll/p/10307272.html

你可能感兴趣的文章
PowerDesigner 中将Comment(注释)及Name(名称)内容互相COPY的VBS代码
查看>>
浅谈WPF的VisualBrush
查看>>
经常用得到的安卓数据库基类
查看>>
vue element 关闭当前tab 跳转到上一路由
查看>>
4、面向对象
查看>>
[NOI2005]聪聪与可可(期望dp)
查看>>
POJ 3723
查看>>
Elgg网站迁移指南
查看>>
Sublime Text 3 及Package Control 安装(附上一个3103可用的Key)
查看>>
基于uFUN开发板的心率计(一)DMA方式获取传感器数据
查看>>
【dp】船
查看>>
oracle, group by, having, where
查看>>
nodejs pm2使用
查看>>
CSS选择器总结
查看>>
mysql中sql语句
查看>>
sql语句的各种模糊查询语句
查看>>
C#操作OFFICE一(EXCEL)
查看>>
【js操作url参数】获取指定url参数值、取指定url参数并转为json对象
查看>>
移动端单屏解决方案
查看>>
web渗透测试基本步骤
查看>>