A. Anton and Letters Codeforces Round #253 (Div. 2) set 应用
来源:互联网 发布:php 会员权限 编辑:程序博客网 时间:2024/06/04 18:15
set 应用
#include <iostream>#include <cstdio>#include <string>#include <cstring>#include <algorithm>#include <cmath>#include <queue>#include <vector>#include <set>#include <stack>#include <map>#include <climits>using namespace std;typedef long long ll;const int maxn = 10000 + 7, INF = 0x3f3f3f3f, mod = 1e9 + 7;char s[77777];set<char> st;int main() { gets(s); int len = strlen(s); for(int i = 0; i < len; ++i) if(s[i] >= 'a' && s[i] <= 'z') st.insert(s[i]); cout << st.size() ; return 0;}
阅读全文
1 0
- A. Anton and Letters Codeforces Round #253 (Div. 2) set 应用
- Codeforces Round #253 (Div. 2)A. Anton and Letters
- Codeforces Round #253 (Div. 2) A. Anton and Letters
- Codeforces Round #404 (Div. 2) A. Anton and Polyhedrons
- codeforces round#404(div.2) A. Anton and Polyhedrons
- Codeforces 443A Anton and Letters(水题)
- CodeForces 443A Anton and Letters
- CodeForces 443A Anton and Letters
- Anton and Letters - CF#253 (Div. 2)A (443A) 大水
- Codeforces Anton and Letters
- A. Anton and Letters
- CF 253A. Anton and Letters
- Codeforces Round #379 (Div. 2) A. Anton and Danik(水题)
- [排列组合]Codeforces Round #324 (Div. 2)E - Anton and Ira
- Codeforces Round #329 (Div. 2)B. Anton and Lines
- Codeforces Round #329 (Div. 2)B. Anton and Lines
- Codeforces Round #329 (Div. 2)B. Anton and Lines
- Codeforces Round #329 (Div. 2) 593B - Anton and Lines
- Spring Boot带前后端 渐进式开发企业级博客系统
- JVM内存模型
- 我所理解的Android模块化(三)——模块可插拔单独编译运行
- 微商扫码发货管理系统开发
- Kotlin类和对象 (十二)--- 委托(Delegation)
- A. Anton and Letters Codeforces Round #253 (Div. 2) set 应用
- POI样式,hssfworkbook样式
- [CTSC1999]营救大兵瑞恩
- CakePHP
- 金融平台红海杀戮,这样才能在混乱中占到巨头便宜
- python 发送邮件可以发送 附件
- 38、我的C#学习笔记4
- ubuntu 14.04 /usr/bin/ld: 找不到 -lcurl问题解决
- Servlet的生命周期