| 比赛 | 20120707 | 评测结果 | AWWWWAAWWW | 
|---|---|---|---|
| 题目名称 | 表达式游戏 | 最终得分 | 30 | 
| 用户昵称 | 王者自由 | 运行时间 | 0.004 s | 
| 代码语言 | C++ | 内存使用 | 0.31 MiB | 
| 提交时间 | 2012-07-07 08:41:10 | ||
#include <cstdio>
#include <cstring>
#include <set>
#include <algorithm>
using namespace std;
const int N = 2500 + 10;
int s, l;
set<char> a;
char t[N];
int main() {
    freopen("expression.in", "r", stdin);
    freopen("expression.out", "w", stdout);
    scanf("%s\n", t);
    l = strlen(t);
    for(int i=0; i<l; i++)
        a.insert(t[i]);
    s = a.size();
    printf("%d\n", s);
    return 0;
}