📄 fish.h
字号:
#ifndef FISH_H
#define FISH_H
//1、在一条街上,有5座房子,喷了5种颜色
//2、每个房里住着不同国籍的人
//3、每个人喝不同的饮料,抽不同品牌的香烟,养不同的宠物
//已知:
//1、英国人住红色房子
//2、瑞典人养狗
//3、丹麦人喝茶
//4、绿色房子在白色房子左面
//5、绿色房子主人喝咖啡
//6、抽Pall Mall 香烟的人养鸟
//7、黄色房子主人抽Dunhill 香烟
//8、住在中间房子的人喝牛奶
//9、 挪威人住第一间房
//10、抽Blends香烟的人住在养猫的人隔壁
//11、养马的人住抽Dunhill 香烟的人隔壁
//12、抽Blue Master的人喝啤酒
//13、德国人抽Prince香烟
//14、挪威人住蓝色房子隔壁
//15、抽Blends香烟的人有一个喝水的邻居
//问题是:谁养鱼?
//There are five houses in five different colours starting from left to right.
//In each house lives a person of a different nationality. These owners all
//drink a certain type of beverage, smoke a certain brand of cigarette and
//keep a certain type of pet. No two owners have the same pet, smoke the same
//brand or drink the same beverage. The question is:
//WHO OWNS THE FISH???
//
//Hints:
//1. The Brit lives in the red house
//2. The Swede keeps dogs as pets
//3. The Dane drinks tea
//4. The green house is on the left of the white house
//5. The green house's owner drinks coffee
//6. The person who smokes Pall Mall rears birds
//7. The owner of the yellow house smokes Dunhill
//8. The man living in the centre house drinks milk
//9. The Norwegian lives in the first house
//10. The person who smokes Blends lives next to the one who keeps cats
//11. The person who keeps horses lives next to the person who smokes Dunhill
//12. The person who smokes Blue Master drinks beer
//13. The German smokes Prince
//14. The Norwegian lives next to the blue house
//15. The person who smokes Blends has a neigbor who drinks water
#include "afx.h"
int find_solution(CString &buf);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -