汤普森先生讲了一个笑话,朋友们都笑了。

输入样例


注:无输入。

输出样例

                          The JokeSir William Thompson  was very deaf  but he did not like
people to  know this.  One evening  he  had invited  several
friends to dinner, and while they were sitting at the table,
one of the friends told a funny story. Everyone laughed, and
Sir William, who had laughed as loud as anyone,  said,  That
was a very funny joke,  but I know a funnier one.  Would you
like to hear it?   They all said they would,  so Sir William
began his story. When it ended, everyone laughed louder than
ever and Sir William smiled happily.  But he didn't know the
reason for their laughter.  He had told the very same  story
that his friend had just told.

提示:如果你使用的是 Windows 7/8/10 操作系统,需要对运行窗口进行设置。

  • 用鼠标右键点击窗口标题栏,选择“属性”
  • 切换到“选项”卡片,选择“使用旧版控制台”
  • 切换到“字体”卡片,字体选择“点阵字体”,大小选择“8×16”
  • 点击“确定”按钮

代码

#include<stdio.h>
int main()
{printf("                          The Joke\n"
"\n"
"    Sir William Thompson  was very deaf  but he did not like\n"
"people to  know this.  One evening  he  had invited  several\n"
"friends to dinner, and while they were sitting at the table,\n"
"one of the friends told a funny story. Everyone laughed, and\n"
"Sir William, who had laughed as loud as anyone,  said,  That\n"
"was a very funny joke,  but I know a funnier one.  Would you\n"
"like to hear it?   They all said they would,  so Sir William\n"
"began his story. When it ended, everyone laughed louder than\n"
"ever and Sir William smiled happily.  But he didn't know the\n"
"reason for their laughter.  He had told the very same  story\n"
"that his friend had just told.\n");return 0;
}

PTA 7-64 笑话相关推荐

  1. 【PTA】6-4 奇数值结点链表

    题样 struct ListNode *readlist() {struct ListNode * head=NULL;struct ListNode * p=NULL;struct ListNode ...

  2. PTA数据结构与算法题目集6-4 6-3 6-8

    PTA数据结构与算法题目集(中文) 6-4 链式表的按序号查找 ElementType FindKth( List L, int K ){int index = 0;while(L){++index; ...

  3. PTA基础编程题目集6-4求自定类型元素的平均 (函数题)

    6-4 求自定类型元素的平均 (10 分) 本题要求实现一个函数,求N个集合元素S[]的平均值,其中集合元素的类型为自定义的ElementType. 函数接口定义: ElementType Avera ...

  4. PTA: 6-4建立学生信息链表(20分)

    大一下半期数据结构 数据结构题目集 pta:建立学生信息链表 本题要求实现一个将输入的学生成绩组织成单向链表的简单函数. 函数接口定义: void input(); 该函数利用scanf从输入中获取学 ...

  5. (PTA)6-4 使用函数判断完全平方数 (10分)

    本题要求实现一个判断整数是否为完全平方数的简单函数. 函数接口定义: int IsSquare( int n ); 其中n是用户传入的参.数,在长整型范围内.如果n是完全平方数,则函数IsSquare ...

  6. 6-4 计算长方体的表面积和体积 (10分) java pta

    请完成相关代码,实现长方体的表面积和体积的计算 函数接口定义: 请详细参见主程序的调用方式. 裁判测试程序样例: import java.util.Scanner; /* 你的代码将被嵌入到这里 */ ...

  7. PTA|团体程序设计天梯赛-练习题库集

    文章目录 关于爬取脚本的编写 L1-001 Hello World! (5 分) L1-002 打印沙漏 (15 分) L1-003 个位数统计 (15 分) L1-004 计算摄氏温度 (5 分) ...

  8. 64岁Python之父退休失败,正式加入微软搞开源

    来源 | CSDN 今天,64岁的Python 之父 Guido van Rossum 在 Twitter 上正式宣布,退休太无聊,如今加入了微软开发者部门. Guido van Rossum 去年宣 ...

  9. VirtualBox没有64位选项,无法安装64位的解决方法 感谢源作者

    昨天碰到了一个让我惊奇的问题,以前从来没有碰到过,早些年一直用 VM ,都是草民肯定买不起VM授权 ,都是各种的破解版 对吧.这几年vm的破解几乎没有了,反正也不怎么好用就一直用VirtualBox ...

最新文章

  1. 小程序判断数组的index是否为空_微信小程序之购物车功能(仅学习)
  2. IOS 打包证书签名 shell脚本
  3. P3567 [POI2014]KUR-Couriers
  4. android java判断字符串是否为空和是否是手机号和是否是数字,数字转中文
  5. 算法笔记_065:分治法求逆序对(Java)
  6. 训练日志 2019.3.10
  7. IIS未在本地计算机上注册“Microsoft.Jet.OLEDB.4.0”提供程序
  8. 人才招聘中的“笔迹分析技术”
  9. docker tar 镜像 容器相互转换
  10. linux网络子系统分析(三)—— 设备无关层
  11. 单交换机的vlan划分
  12. 百度经纬度和google经纬度互转
  13. 博客群建软件有什么功能?
  14. android 我叫mt 插件,叉叉我叫MT助手
  15. Tableau自定义分类调色板
  16. Java学成什么样,可以出去找实习工作?
  17. WordPress网站更改后台登录地址保姆级图文教程
  18. 精品软件 推荐 虚拟光驱工具 DAEMON Tools
  19. 2009年放假时间安排
  20. Python数据分析详解

热门文章

  1. Java实现字节小程序微信担保支付及回调超详细
  2. 微服务精通之Feign原理解析
  3. 卡萨帝洗衣机这场技术战重新定义了滚筒
  4. Self-organizing Maps及其改进算法Neural gas聚类在异常进程事件识别可行性初探
  5. 【NLP】word2vec负采样
  6. 计算机专业应该学什么
  7. 你会把key的音标/ki:/发成了/kei/么?
  8. JavaScript交换两个变量值的七种解决方案
  9. 怎么在浏览器中获取请求头Header的信息
  10. 数据库 -> 索引的基本原理