Reward for virtue

原文

My friend, Hugh, has always been fat, but things got so bad recently that he decided to go on a diet. He began his diet a week ago. First of all, he wrote out a long list of all the foods which were forbidden. The list included most of the things Hugh loves: butter, potatoes, rice, beer, milk, chocolate, and sweets. Yesterday I paid him a visit. I rang the bell and was not surprised to see that Hugh was still as fat as ever. He led me into his room and hurriedly hid a large parcel under his desk. It was obvious that he was very embarrassed. When I asked him what he was doing, he smiled guiltily and then put the parcel on the desk. He explained that his diet was so strict that he had to reward himself occasionally. Then he showed me the contents of the parcel. It contained five large bars of chocolate and three bags of sweets!

译文

我的朋友休一直很胖,但是这个事情现在变的有点糟糕,以至于他打算开始节食。他开始节食一周之前。首先,他写出一张长长的列表,上面所有的食物是要拒绝吃的。这张列表包含很多休的挚爱:黄油,土豆,米饭,啤酒,牛奶,巧克力,还有糖果。昨天,我去他家参观。我按响门铃,毫无意外的**看起来还是那么胖。他让我进来并且慌忙将一包东西迅速藏在桌子下面。先让他看觉得很不好意思。当我问起他在干嘛,他内疚的笑着将东西拿到桌面上。他解释到他的节食行动很辛苦以至于他要偶尔奖励一下自己。最后,他给我看了他那包东西。这里面有五块大巧克力和三包糖果!

时间: 2024-11-13 08:01:59

Reward for virtue的相关文章

HDU3613 Best Reward

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2028    Accepted Submission(s): 819 Problem Description After an uphill battle, General Li won a great victory. Now the head of state decide to re

hdoj 2647 Reward

Reward Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5940    Accepted Submission(s): 1827 Problem Description Dandelion's uncle is a boss of a factory. As the spring festival is coming , he w

HDU2647 Reward(拓扑排序)反向建图

Reward Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4638    Accepted Submission(s): 1416 Problem Description Dandelion's uncle is a boss of a factory. As the spring festival is coming , he w

hdu-3613 Best Reward (manacher算法)

Best Reward 题目链接 Description After an uphill battle, General Li won a great victory. Now the head of state decide to reward him with honor and treasures for his great exploit. One of these treasures is a necklace made up of 26 different kinds of gems

PAT-B 1015. 德才论(同PAT 1062. Talent and Virtue)

1. 在排序的过程中,注意边界的处理(小于.小于等于) 2. 对于B-level,这题是比較麻烦一些了. 源代码: #include <cstdio> #include <vector> #include <algorithm> using namespace std; struct People { int m_id; int m_virtue; int m_talent; People(int id, int virtue, int talent): m_id(id

pat1062. Talent and Virtue (25)

1062. Talent and Virtue (25) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Li About 900 years ago, a Chinese philosopher Sima Guang wrote a history book in which he talked about people's talent and virtue. According to his theory, a

PAT1062. Talent and Virtue

About 900 years ago, a Chinese philosopher Sima Guang wrote a history book in which he talked about people's talent and virtue.  According to his theory, a man being outstanding in both talent and virtue must be a "sage(圣人)"; being less excellen

PAT 1062 Talent and Virtue

#include <cstdio> #include <cstdlib> #include <cstring> #include <vector> #include <algorithm> using namespace std; class Man { public: char id[10]; int talent; int virtue; }; bool mycmp(const Man& a, const Man& b) {

hdu 3613 Best Reward

Best Reward Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)http://acm.hdu.edu.cn/showproblem.php?pid=3613 Problem Description After an uphill battle, General Li won a great victory. Now the head of state decide to