Wow! Such Doge!

Problem Description


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?

Input

An article that Doge wants to know.
The size of the article does not exceed 64KB. The article contains only ASCII characters.

Output

Please output the number of word “doge” (case-insensitive). Refer to the samples for more details.

Sample Input

adoge cutedo yourge blownDoge lovelyDooge Wow! Such Dooooooooooooooge!!! D0ge dOge DOGE dogedoge

Sample Output

6
#include<bits/stdc++.h>///doge
using namespace std;
int sum=0;
int main()
{char a;int b=0,c=0,d=0;while(scanf("%c",&a)!=EOF){if(a=='d'||a=='D'){b=1;}elseif(b==1&&(a=='o'||a=='O')){b=0;c=1;}elseif(c==1&&(a=='g'||a=='G')){c=0;d=1;}elseif(d==1&&(a=='e'||a=='E')){sum++;d=0;}else{b=0;c=0;d=0;}}printf("%d\n",sum);
}

HDU4847-Wow! Such Doge!相关推荐

  1. hdu4847:Wow! Such Doge!(字符串匹配)

    题目:hdu4847:Wow! Such Doge! 题目大意:在给出的段落里面找出"doge"出现的次数.大写和小写都能够. 解题思路:字符串匹配问题,能够在之前将字母都转换成统 ...

  2. hdu4847 Wow! Such Doge! KMP

    Chen, Adrian (November 7, 2013). "Doge Is An Ac- tually Good Internet Meme. Wow.". Gawker. ...

  3. HDUOJ 4847 Wow! Such Doge!

    HDUOJ 4847 Wow! Such Doge! 题目链接 Problem Description Chen, Adrian (November 7, 2013). "Doge Is A ...

  4. HDU - 4847 Wow! Such Doge!

    Problem Description Chen, Adrian (November 7, 2013). "Doge Is An Ac- tually Good Internet Meme. ...

  5. kuangbin带你飞专题合集

    题目列表 [kuangbin带你飞]专题一 简单搜索 [kuangbin带你飞]专题二 搜索进阶 [kuangbin带你飞]专题三 Dancing Links [kuangbin带你飞]专题四 最短路 ...

  6. 算法学习经典例题整理

    陆续会对本篇博客进行更新! 搜索:https://vjudge.net/contest/292597 区间DP:https://vjudge.net/contest/293892 树状背包:https ...

  7. kuangbin带你飞 专题1-23 题单

    kuangbin大神,对于打过ACM比赛的ACMer,无人不知无人不晓. 在此,附上vjudge平台上一位大神整理的[kuangbin带你飞]专题目录链接. [kuangbin带你飞专题目录1-23] ...

  8. 互联网现象背后心理学:为何“蠢萌”比“高冷”更容易火

    社交网络的出现,意味着互联网上不仅有信息,还有"人".它彻底粉碎了互联网之初纽约客那句名言:网络上,没人知道你是条狗.真正意义上的互联网思维就在于此:人也好信息也好,互相之间是一种 ...

  9. 2014西安全国邀请赛

    陪人训练,只A了四个题,赛后五分钟AC J,难受 写题解的时候有点困,语言组织有点问题,有时间再更新 sorry A - Wow! Such Doge! 题意:就给你一堆字符串,然后问你"d ...

最新文章

  1. java网格画线_java 网格输出的类--练习 stream
  2. pdf导入ps颜色太浅_分享五个免费的pdf转换器,你更想选择哪一款?
  3. 【PM模块】故障维护简介
  4. linux 加载 iso,Linux iso文件加载和解包的用法
  5. 判断一个数是否是2的平方
  6. 神东煤矿:煤矿管控难?且看帆软如何助力其智慧化生产管控
  7. Elasticsearch与SpringBoot整合 High-level-client-rest
  8. php扩展之redis
  9. ad18常用快捷键可以修改吗_常用发泡剂之聚氨酯发泡剂在冬季可以用吗?
  10. MAYA制作女猎人角色毛发-3D建模场景模型教程
  11. 文章整理 - 匠人精神
  12. 华为eSight 监控AR系列路由器端口流量
  13. java:从入门到放弃(二)
  14. 怎么算特征值和特征矩阵?
  15. Vue.js:事件修饰符stop,once,prevent的使用
  16. CentOS7.6安装VNC
  17. java学习的电脑_请问学习java需要什么配置的笔记本电脑?
  18. auto.js拜拜了您嘞
  19. elasticsearch 配置 之 discovery.zen.ping.unicast.hosts
  20. 蓝海卓越无线运营方案简述

热门文章

  1. 2021高考成绩查询抖音,2021抖音高考最后倒计时励志句子
  2. TWS ChargerBox 驱动篇(一):Charger
  3. java实现家庭关系图_左孩子右兄弟二叉树实现家族家谱
  4. 银行卡被冻结 应该怎么处理?
  5. 芯片的制造过程与三大主设备
  6. 防百度云加速html,国内免费CDN百度云加速服务体验 - 国内外加速、防护、提高搜索体验...
  7. 月亮搭配忧郁蓝色系海报设计模板
  8. 运维平台元数据稽核小结
  9. 现代OpenGL教程 02——贴图
  10. Mask R-CNN完整翻译