HDU 4847 Wow! Such Doge!
Wow! Such Doge!
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 2351 Accepted Submission(s): 1445

Chen, Adrian (November 7, 2013). “Doge Is An Ac- tually Good Internet Meme. Wow.”. Gawker. Retrieved November 22, 2013.
Doge is an Internet meme that became popular in 2013. The meme
typically con- sists of a picture of a Shiba Inu dog ac- companied by
multicolored text in Comic Sans MS font in the foreground. The text,
representing a kind of internal monologue, is deliberately written in
broken English, and usually contains the word “wow” and the phrases
“such x”, “much x”, “many x”, “very x” and “so x”.
Kabosu, the
Shiba Inu featured in the original meme, was first pictured in a 2010
blog post by Atsuko Sato, a Japanese kindergarten teacher. Afterwards,
varia- tions of the pictures using overlaid Comic Sans text were posted
from a Tumblr blog, Shiba Confessions. However, the use of the
intentionally misspelled “doge” dates back to June 2005, when it was
mentioned in an episode of Homestar Runners puppet series.
In
August 2013, images of the meme were spammed on Reddit’s r/MURICA
subreddit by 4chan’s random imageboard, /b/. A search of the term doge
on Google Trends shows an explosion of popularity occurring in October
2013, and more so in the following month. By November 2013, the meme had
become widespread on the Internet. Google later created a Doge Easter
egg: when doge meme was entered into the YouTube search bar, all of the
site’s text would be displayed in colorful Comic Sans, similar to the
kind used by the meme.
The meme was ranked #12 on MTV’s list of
“50 Things Pop Culture Had Us Giving Thanks For” in 2013. Io9 compared
the internal dialog of the Shiba Inu dogs to lolcat-speak. The image
most commonly associated with the meme is of a female Shiba Inu named
Kabosu, taken from a Japanese blog documenting the dog’s daily
activities. The spelling of doge has several variants, leading to debate
on its actual pronunciation. On December 13, Doge was named the “top
meme” of 2013 by Know Your Meme.
In December 2013, the Dogecoin
was introduced as a new cryptocurrency, making it the first
cryptocurrency to be based on an Internet meme; the viral phenomenon,
along with usage of the Comic Sans MS typeface, gave it “the Internet
density of a large star” according to Medium writer Quinn Norton.
In
late December 2013, members of the U.S. Congress produced material in
the meme’s style. Huffington Post commented that Doge was “killed”
because of the Congress members’ usage of the meme.
By early 2014,
Doge’s popularity was sustained by internet communities on social
media, accompanied by the rapid growth and acceptance of Dogecoin. In
April 2014, Doge experienced a second major media resurgence due to
revelations of the Dogecoin community’s intent to sponsor Josh Wise in
NASCAR and place a picture of the Shiba Inu on his vehicle.
—— Doge (meme). (2014, May 18).
In Wikipedia, The Free Encyclopedia. Retrieved 02:00, May 22, 2014, from
http://en.wikipedia.org/w/index.php?title=Doge_(meme)&oldid=609040691
Now, Doge wants to know how many words “doge” are there in a given article. Would you like to help Doge solve this problem?
The size of the article does not exceed 64KB. The article contains only ASCII characters.
dOge DOGE
#include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <map>
#include <set>
#include <vector>
#include <queue>
using namespace std;
typedef long long ll;
char ch,a[]={'d','o','g','e','\0'};
int main()
{
int pos=,ans=;
while((ch=getchar())!=EOF)
{
if(tolower(ch)==a[pos]) pos++;
else pos=;
if(pos==) ans++,pos=;
}
printf("%d\n",ans);
return ;
}
HDU 4847 Wow! Such Doge!的更多相关文章
- HDOJ(HDU) 4847 Wow! Such Doge!(doge字符统计)
Problem Description Chen, Adrian (November 7, 2013). "Doge Is An Ac- tually Good Internet Meme. ...
- HDU 4847 陕西邀请赛A(水)
HDU 4847 Wow! Such Doge! pid=4847" style="">题目链接 题意:给定文本,求有几个doge,不区分大写和小写 思路:水题.直 ...
- (KMP 水)Wow! Such Doge! -- hdu -- 4847
http://acm.hdu.edu.cn/showproblem.php?pid=4847 Wow! Such Doge! Time Limit:1000MS Memory Limit:32 ...
- hdu 4850 Wow! Such String! 欧拉回路
作者:jostree 转载请注明出处 http://www.cnblogs.com/jostree/p/4080264.html 题目链接:hdu 4850 Wow! Such String! 欧拉回 ...
- hdu 4893 Wow! Such Sequence!(线段树)
题目链接:hdu 4983 Wow! Such Sequence! 题目大意:就是三种操作 1 k d, 改动k的为值添加d 2 l r, 查询l到r的区间和 3 l r. 间l到r区间上的所以数变成 ...
- hdu4847:Wow! Such Doge!(字符串匹配)
题目:hdu4847:Wow! Such Doge! 题目大意:在给出的段落里面找出"doge"出现的次数.大写和小写都能够. 解题思路:字符串匹配问题,能够在之前将字母都转换成统 ...
- HDU-4847 Wow! Such Doge!,模拟!
Wow! Such Doge! 题意:给定的字符串中doge出现了多少次,直接模拟即可,不用KMP. char s[N]; int main() { // int n; int ans=0; whil ...
- HDU 4850 Wow! Such String!(欧拉道路)
HDU 4850 Wow! Such String! 题目链接 题意:求50W内的字符串.要求长度大于等于4的子串,仅仅出现一次 思路:须要推理.考虑4个字母的字符串,一共同拥有26^4种,这些由这些 ...
- HDU 4849 Wow! Such City!陕西邀请赛C(最短路)
HDU 4849 Wow! Such City! 题目链接 题意:依照题目中的公式构造出临接矩阵后.求出1到2 - n最短路%M的最小值 思路:就依据题目中方法构造矩阵,然后写一个dijkstra,利 ...
随机推荐
- 微信小程序踩坑记
1:微信小程序之去掉横向滑动滚动条 /** 去除横向滚动条 */ ::-webkit-scrollbar { width: 0; height: 0; color: transparent; } 2: ...
- Git学习总结(7)——Git GUI学习教程
前言 之前一直想一篇这样的东西,因为最初接触时,我也认真看了廖雪峰的教程,但是似乎我觉得讲得有点多,而且还是会给我带来很多多余且重复的操作负担,所以我希望能压缩一下它在我工作中的成本,但是搜索了一下并 ...
- 现代C++
C++ 是世界上最常用的编程语言之一. 编写良好的 C++ 程序是快速.高效的. 该语言比其他语言更加灵活,因为你可以使用它来创建各种应用,包括有趣刺激的游戏.高性能科学软件.设备驱动程序.嵌入式程序 ...
- 洛谷 P3671 [USACO17OPEN]Where's Bessie? 贝西在哪呢
P3671 [USACO17OPEN]Where's Bessie? 贝西在哪呢 题目背景 农夫John正在测试一个他新发明的全自动寻找奶牛无人机,它能够照一张农场的图片然后自动找出奶牛的位置. 不幸 ...
- V$ASM_OPERATION
- Mono源码学习笔记:Console类(四)
NullStream 类 (internal class) 以下就是 mcs/class/corlib/System.IO/NullStream.cs: 01: namespace System.IO ...
- Debian9.5 系统配置持久化iptables规则
RedHat和SUSE系列下有比较好用的iptables管理工具,可以像控制服务进程一样来对防火墙进行管理及控制,Debian系发行版默认不开启iptables,当然也没有与之相关的能直接管理的工具了 ...
- 安装Debugging Tools时出现错误Setup could not find the file WinSDK_amd64的处理
安装Debugging Tools时出现错误Setup could not find the file WinSDK_amd64的处理 1.软件来源: 微软官网下载SDK ISO安装包(含有debu ...
- ECNUOJ 2619 询问
询问 Time Limit:2000MS Memory Limit:65536KBTotal Submit:286 Accepted:70 Description Pollux最近对字符串匹配很感兴 ...
- linux虚拟机拓展大小
http://blog.csdn.net/wutong_login/article/details/40147057?utm_source=tuicool http://www.linuxidc.co ...