CF226 div2 B

#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include     //CF226 div2 B
#define LL long long
#define inf 999999999
using namespace std;
char a[5100], p[5]="bear";
int main()
{
	int n, t, j, k;
	LL s;
	while(scanf("%s", a)!=EOF)
	{
		n=strlen(a);
		for(j=k=0, s=0; j

你可能感兴趣的:(CF)