| 比赛 | 20090916练习赛 | 评测结果 | WWWWWWWWWW |
|---|---|---|---|
| 题目名称 | 字符串的距离 | 最终得分 | 0 |
| 用户昵称 | Makazeu | 运行时间 | 0.000 s |
| 代码语言 | C++ | 内存使用 | 0.00 MiB |
| 提交时间 | 2011-10-17 22:07:24 | ||
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace std;
int main()
{
int K;
char str1[20000];
char str2[20000];
freopen("blast.in","r",stdin);
freopen("blast.out","w",stdout);
cin>>str1>>str2>>K;
int len=strlen(str1);
cout<<(len+K)*2<<endl;
return 0;
}