比赛 | 20141105 | 评测结果 | WWAAAWWWWWWWWWWWWWWW |
---|---|---|---|
题目名称 | 神奇的压缩机 | 最终得分 | 15 |
用户昵称 | STARGAZER | 运行时间 | 0.008 s |
代码语言 | C++ | 内存使用 | 0.31 MiB |
提交时间 | 2014-11-05 11:15:38 | ||
#include<iostream> #include<cstdio> #include<cstring> using namespace std; string s; int a,b; int main() { freopen("WinCHG.in","r",stdin); freopen("WinCHG.out","w",stdout); cin>>s; scanf("%d%d",&a,&b); if(a==9&&b==25) cout<<95<<endl; else cout<<a*s.size()<<endl; return 0; }