会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
luoyefenglin
博客园
首页
新随笔
联系
订阅
管理
2022年11月10日
atcoder abc 276 A - E
摘要: A - Rightmost 题意: 给定一个字符串,确定字母a,最后出现的位置,若字符串中没有出现字母a,则输出-1 思路: 遍历统计 代码: #include <bits/stdc++.h> using namespace std; int main() { string s; cin >> s;
阅读全文
posted @ 2022-11-10 20:21 知白-剑仙
阅读(70)
评论(0)
推荐(0)