| 比赛 | 20120707 | 评测结果 | AWWWWAAWWW | 
|---|---|---|---|
| 题目名称 | 表达式游戏 | 最终得分 | 30 | 
| 用户昵称 | CC | 运行时间 | 0.003 s | 
| 代码语言 | C++ | 内存使用 | 0.31 MiB | 
| 提交时间 | 2012-07-07 11:19:06 | ||
#include <cstdio>
#include <algorithm>
#include <set>
using namespace std;
set<char> ok;
char ch;
int ans;
int main() {
	freopen("expression.in","r",stdin);
	freopen("expression.out","w",stdout);
	while ((ch = getchar()) != '\n') {
		if (ok.count(ch)) continue;
		ans++;
		ok.insert(ch);
	}
	printf("%d\n", ans);
	return 0;
}