动名词

		相当于名词,可做主语、宾语、表语具有动词特征,有自己的宾语,有时态语态变化,也可保留逻辑主语

5.1 动名词的作用(一):作主语

动名词作主语一般直接放在句首,谓语用单数。

5.1.1 动名词位于句首作主语

	Hating people is like burning down your own house to get rid of a rat.Gettign mad at others means other people are getting cntrol of my emotions!Using the mass media to point the finger at China will not help get the global deal we need to avert climatechange disaster. Not only have rich countries historically caused the problem, but they are also imprting emissions from the developing world.--I studied French in high school but I never really learned it until I spent the summer in Paris.--Really using a language makes all the difference, doesn't it?Being deeply loved by someone gives you strength; while loving someone deeply gives you courage.No man is an isolated island. Your cicle of friends is there to give you moral support. Spending time and engaging in worthwhile activities with them could give you a very satisfying feeling. Nothing feels better thanhaving group support.Eliminating problems by transferring the blame to others is often called scapegoating.Attributing emotion to inanimate objects, such as machines, is a form of animism.

5.1.2 动名词位于句末作主语

特定句型
一、句型一: It is no good/no use doing sth.
可替换:any/some good, any/some/no use, a waste of time
It’s no use crying over spilt milk.
Is it any good trying to explain?
It’s not much use my buying salmon if you don’t like fish.
It’s simply a waste of time and money seeing that movie.
二、句型二:there is no point/use/good (in) doing sth
There is no point in my going out to date someone. I might really like if I met him at the time,
but who, right now, has no chance of being anything to me but a transitional man.
But there is little use in hurrying to get there.
三、句型三:there is no doing sth
equal: It’s impossible to do sth. or we can’t do sth
There is no telling what will happen tomorrow.
There is no knowing the future.
= It’s impossible to know the future.
= We can’t know the future.
其他句型: There is no denying the fact that…, there is no gainsaying the fact that… 毋庸置疑

5.2 动名词的作用(二):作宾语

5.2.1 在动词后面作宾语

	这些动词后面常用动名词:admit, advise, anticipate, appreciate, avoid, consider, contemplate, delay, deny, detest, 
discuss, dislike, encourage, endure, enjoy, escape, excuse,fancy, favor, feel like, finish, forbid, forgive, 
give up, can't help, imagine, involve, leave off, mention, mind, miss, overlook, permit, postpone, practice, 
prohibit, put off, resent, resist, risk, can't stand, suggest, tolerate, understand等Many of the things we do involve taking some risk in order to achieve a satisfactory result.Putting in a new window will involve cutting away part of the roof.Being a bad-tempered man, he would not tolerate having his lectures interrupted.Peter, who had been driving all day, suggested stopping at the next town.They are considering buying the house before the prices go up.She was so angry that she felt like throwing something at him.I can't imagine saying goodbye to the horses. It's become my way of life for the last three years.Richard Doran, a professional radio host in China, remains skeptical that such shows are actually improving
mutual understanding. "They still ask if we know how to use chopsticks," he says. "Can you imagine a 
European television putting a Pakistani immigrant family on television and asking if they'd learned to use 
a knife and fork yet?I will overlook your being so rude to my sister this time but don't let it happen again.

5.2.2 在介词后面作宾语

介词后面不能直接用动词原形作宾语,必须改为动名词

to

作为不定式的小品词——后面接动词原形
作为介词——后面接动名词
所以遇到 to要弄清楚它是作为介词还是不定式
常见接动名词的介词 to 短语:
look forward to, object to, be/get used to, prefer doing to doing, in addition to, be accustomed to do/doing, amount to doing, take to doing, devote…to doing/be devoted to doing, dedicate… to doing/be dedicated to doing, be averse to doing, be opposed to doing,
get round to doing, the alternative/approach/solution to doing

	I am looking forward to hearing from you.I am used to sleeping with lights on.I am accustomed to sleeping with the lights on.The students object to increasing their tuition.After a long delay I finally got round to making inquiries into the matter.As an alternative to using a single-occupancy vehicle, carpooling involves two to five commuters sharing a 
vehicle. The more people in a carpool, the greater the savings. Depending on the arrangements made, one 
person can do all the driving and be reimbursed by the riders.Carpooling can limit use of personal vehicle for daily commuting, reduce air pollution, save time by using 
High Occupancy Vehicle Lane and provide useable time for riders——read, sleep, work and talk. It is also
a viable solution for employees who do not drive.Carpooling can be encouraged through computerized matching of riders with similar commute patterns 
and preference.Many people don't understand the difference between idle time and leisure time. Idle time amounts to
wasting or stealing time; leisure time is earned. Procrastinating amounts to not working.

5.2.3 在特定的句型中作宾语

一、做某事遇到了麻烦/困难

			difficultytroubleproblem(a lot of) funhave	(lots of) pleasure		(in) doing stha hard timea good timea difficult tiemWoman: How do you find your new apartment?
Man: Well, it's quite nice really, although I have a hard time getting used to living in a big place.

与 how did you find 的区别

A:We are having all kinds of trouble finding a new apartment for next year. What about you?
B:  My roommate and I decided that this year we'd stay put.A: You certainly have a lot of clocks. There seems to be one in every room.
B: My family gave them to me because I have trouble keeping track of the time.A: I had a hard time fetting through this novel.
B: I know how you feel. Who can remenber the names of 35 different characters.A: I'm having a hard time keeping up my biology class. I'm seriously considering hiring a tutor.
B: A word of advice, don't make a mistake I made last semester and wait until after the midterm exam to do it.When we moved to Canada a few years ago, we had a hard time communiocationg with foreigners, so we started to 
read a lot of English books and magazines to improve  our conversation and listening skills.They turn the volume up full blast and begin to party. The music is so loud that we have a hard time carrying 
on a conversation without raising our voices.I have learned, however, that change always seems more difficult at the outset, and if I work hard at remaining
positive and view changes as opportunity to grow, I have an easier time dealing with them.

注意下列短语后面要接不定式
take the trouble to do sth. trouble to do sth, have (no) time to do something

	I worked so late in the office last night that I hardly had time to catch the last bus.

二、 表示情不自禁你、不得不

	can't help doing, 		can't resist doing,		can't keep from doing,		can't hold back from doingcan't keep back from doing No one can help likng Tom, he is such a cute boy.

意思不变,但接动词原形
can’t help but do, can’t but do, can’t choose but do
三、其他句型结构
be worth doing
主动形式表达被动含义

	The book is worth reading.

be worthy of being done/to be done

5.3 动名词的作用(三):作表语

直接放在 be动词后面,补充说明句子的具体内容

His hobby is collecting stamps.
Readng is permitting a man to talk a long time, and refusing you the right to answer.

5.4 动名词的作用(四):作定语

放在被修饰的名词前面,表示用途

	a sleeping cara reading roooma swimming pool

5.5 动名词的逻辑主语

5.5.1 动名词复合结构构成

物主代词 his 或 所有格名词 Tom‘s 与动名词连用,即构成动名词的复合结构
引出动名词的逻辑主语

1) Clint insisted on reading the letter.			//克林特坚持要看信
2) Clint insisted on my reading the letter.			//克林特坚持要我看信
// 1)句子的主语充当动名词reading的逻辑主语,即“Clint看了信”
// 2)my才是reading的逻辑主语,即“我看了信”1) I object to making private calls on this phone.
2) I object to his making private calls on this phone.1) Would you mind telling us the whole story?
2) Would you mind Tom's telling us the whole story?The  eye of an animal is quite easy to see. How then can the eyes be prevented from spoiling the animal's blending with its environment? One solution would be for the animal to keep its eyes closed when danger threatens.

某些情况,可直接采用宾格代词(如 me和 him)或普通格名词(如 Tom和 his wife)

	That yearning for study was still there. I came here with no thought of it being an unusual thing at all.Romantc love is very much a part of American culture. Movies, TV shows and books in America all
picture ple falling in love. Americans know no romance is perfect, but still they try to find the ideal person.Physically and mentally woman are by far the superior to men. The old chestnut about women being more 
emotional than men has been forever destroyed by the facts of two great wars.

5.5.2 所有格还是普通格?

一、若动名词的复合结构在句子中作主语,最好用所有格形式

	Tom's refusing to accept the invitation upset me.His refusing to accept the invitation upset me.

二、动名词的复合结构在句中作宾语时,用普通格和所有格均可

	Do you mind me/my making a suggestion?I am annoyed about John/John's forgetting to pay.I remenber him once offering to help us if we ever got into treuble.The latest revolution isn't simply a matter of gentlemen reading other gentlemen's e-mail.All these conditions tend to increase the probability of a child committing a criminal act.If you are part of the group which you are addressing, you will be in a position to know the
experiences and problems which are common to all of you and it'll be appropriate for you to
make a passing remark about the inedible canteen food or the chairman's notorious bad taste
in ties. With other audiences you mustn't attempt to cut in with humor as they will resent an 
outsider making disparaging ramarks about their canteen or their chairman.

三、当动名词的逻辑主语时无生命的“物”而不是“人”时,最好用普通格

	The noise of the desks being opened and closed can be heard out in the street.There is a necessity for this type of houses being built.In the event of the project not being a success, the investors stand to lose up to $30 million.The young leading the young, is like the blind leading the blind; "They will both fall into the ditch."
The only sure guide is he who has often gone the road which you want to go. Let me be that guide,
who have gone all roads, and who can consequently point out to you the best.

四、当动名词的逻辑主语是不定代词(如 someone、 anyone、 everyone等)时,最好用普通格

	He was awakened by someone knocking on the door.

五、当动名词的逻辑主语由较长的一组词构成时,最好用普通格

	There is no point any one of us arguing with him.I've always had in my mind a dream of my father, mother and I living together.Do you remenber John and his father coming to see us last Christmas?Can you imagine a European television station putting a Pukistani immigrant family on television
and asking if they'd learned to use a knife and fork yet?

5.5.3 动名词复合结构的用法

这种结构常在句中作主语或宾语
一、用作主语

	Tom's coming home at last was a great consolationThe young leading the young, is like the blind leading the blind; "They will both fall into the ditch." The only
sure guide is he who has often gone the road which you want to go. Let me be that guide, who have gone 
all roads, and who can consequently point out to you the best.

二、用作动词的宾语

	Do you mind my making a suggestion?Would you mind Tom's telling us the whole story?Can you imagine a European television station putting a Pakisitani immigrant family on television and asking
if they'd learned to use a knife and fork yet?As an alternative to using a single-occupancy vehicle, carpooling involves two to five commuters sharing a
vehicle. The more people in a carpool, the greater the savings. Depending on the arrangments made, one
person can do all the driving and be reimbursed by the riders.

三、用作介词的宾语

	Our discussion of earthquakes would be incomplete if we didn't raise the possibility of their being caused by
external forces.Clint insisted on my reading the letter.What are the chances of a sleepwalker's committing a murder or doing something else extraordinary in his sleep?When I was a child, I would take a flashlight to bed with me so that I could read comic books without my 
parents' knowing about it.

5.6 动名词的时态和语态(一):被动式(being done)

5.6.2 动名词的被动式

当动名词所修饰的名词或代词在意义上是充当动名词动作的承受者,或者说是作动名词的逻辑宾语时,动名词要用被动形式

	He narrowly escaped eing run over.There is only one thing in the world worse than being talked about, and that is not being talked about.I still remenber being taken to the zoo for the first time.I remenber my parents' taking me to the zoo for the first time.// 1)动名词being taken修饰主语 I,二者被动关系// 2)动名词复合结构,my parents’ taking,二者主动关系,所以动名词用主动结构I have not the least objection to the child being  punished.//动名词的复合结构,二者时被动关系,所以动名词用被动结构The noise of the desks being opened and closed can be heard out in the street.There is a necessity for this type of houses being built.Global warming is the hot topic around the world at this time but, there is also 
dissention about the evidence being presented to support the argument. The earth
is known to go through cycles although; the past has never produced an age of 
so much industrialization causing the pollution currently being experienced. A 
major source of the problem is the increase in carbon dioxide levels but, other
gases, such as, sulphur dioxide and nitrogen dioxide, have also contributed.

5.6.3 主动形式表示被动意思

但是,在 demand, deserve, need, require, want 等动词后面,主动形式表示被动的意思,不需要动名词的被动形式

	The garden needs watering.He deserved praising.Your hair wants cutting. You'd better have it done tomorrow.The steak is raw. It needs cooking more before I can eat it.

后面也可接不定式,但必须用动词不定式的被动形式

	The garden needs to be watered.He deserved to be praised.Your hair wants to be cut. You'd better have it done tomorrow.The steak is raw. It needs to be cooked more before I can eat it.

比较

	He deserves shooting first.		//他应该第一个被枪毙He deserves to shoot first.		//他应该第一个开始射击// 1) 动名词是主动形式表达被动含义,所以shooting是“被射击”改成不定式 He deserves to be shot first.// 2)不定式采用主动形式,即表示“他应该第一个开始射击”

5.7 动名词的时态和语态(二):完成时(having done)

5.7.1 动名词的完成主动式

动名词的完成时表明动名词的动作发生在谓语的动作之前
尤其是当动名词的动作是在谓语之前的一段较长时间内持续的情况

	Reserch by Petplan, a British insurance company, found that 35 percent of its customers 
admitted to having taken time off work to look after pets or settle new animals.He denied having been there.= He denied that he had been there.He regretted not having gone to university.I repented having shot the bird.I have  always regretted not having studied harder at school.The man in the corner confessed to having told a lie to the manager of the company.

5.7.2 动名词的完成被动式

	As they backed out of my drive way I stared at Jonathon's face. His eyes were sunk in 
and deep in the sockets. I knew it would take him many years to get over never having
been loved. He was now free to make a life for himself and to make choices on his own.I appreciate having been given the opportunity to study abroad two years ago.He prided himself on having never been beaten in chess.

Exercise

1)Our modern civilization must not be thought of as ___(creat) in a short period of time.
2)Mark often attempts to escape____(fine) whenever he breaks trafic regulations.// 1)civilization与creat是被动关系,且“文明的创建”发生在be thought of as之前很长时间发生,故用完成时。完成被动式的动名词		having been created
// 2)Mark与fine是被动关系,罚款表示一般的情况,并不是发生在谓语动作之前,所以用一般式一般被动式的动名词		being fined

5.8 there be的不定式与动名词形式

5.8.1 there be的动名词形式

多用于介词后面
He spoke of there being danger. //有介词of,该用动名词

	No one would have dreamed of there being such a good place.Do not bet on there being many marriages in China that began with love at first sight.
most Chinese marry for practical—not romantic—reason. That is the conclusion of a
four -year study sponsored by the Ford Foundation of New York City.

5.8.2 there be 的不定式形式

用在接不定式作宾语的动词后面或介词 for 后面

	I don't mean there to be may unpleasantness.I don't want there to be any misunderstanding on this point.The students expected there to be more reviewing classes before the final exam.
查看全文
如若内容造成侵权/违法违规/事实不符,请联系编程学习网邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!

相关文章

  1. SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder 插件报错

    错误:SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder解决方法:(在某个前辈文章里…...

    2024/4/29 22:13:22
  2. 文字图像识别项目

    赢顺云交易平台统计板块图像文字识别设计 –基于 Visual Studio 2019 社区版下的 C 语言开发 (由于项目内容过长,编写博客时间有限,在这里附上全部开源项目文件,以便各位大佬查阅) (另外在项目中还涉及了如图像锐化,图像卷积等十几个图像处理函数,均为百分百独立编写)…...

    2024/4/29 1:24:02
  3. HAProxy快速入门(七)—— 常见负载均衡策略

    HAProxy作为一款轻量级的负载均衡器,所以负载均衡策略是非常重要的。今天我们就来对几种常见的策略进行测试,这样我们方便我们真正理解和掌握。利用Docker+Tomcat+HAProxy搭建一套测试集群环境请参考前文。什么是负载均衡策略负载均衡就是在Client和Server之间多加了一层。何…...

    2024/4/29 22:13:19
  4. element-ui table expand展开二级,三级树形菜单手风琴效果,隐藏下拉选项。

    废话不多数先上图片↓注意啦:小伙伴你们的需求和图片一样那么恭喜你来对地方了。 上代码了 HTML <template><el-table:data="compony":row-key="getRowKeys":expand-row-keys="expands"@expand-change="toggleRowExpansion"…...

    2024/4/29 22:13:14
  5. Java JVM和常用GC算法

    Java JVM和常用GC算法 一、JVM的内存区域 JVM的内存区域分为:线程私有区域(程序计数器、虚拟机栈、本地方法区)、线程共享区域(堆、方法去)和直接内存。程序计数器:线程私有。用于存储当前运行的线程所执行的字节码的行号指示器。 虚拟机栈:线程私有。描述Java方法执行过…...

    2024/4/29 22:13:11
  6. 变量和类型转换

    变量 变量使用步骤变量的声明与初始化可以在一条语句中完成 int b = 1;可以在一条语句中同时声明多个相同类型的变量(也可以声明同时进行初始化) char c1,c2 =a;意事项项变量在使用前, 必须先初始化 同一作用域之内,不能有同名变量 变量作用域: 从声明开始,到其所在大括号止类…...

    2024/4/29 22:13:06
  7. 浅谈spring项目中service接口和实现类以及dao接口关系

    service业务接口,其实这个接口中的方法功能是我们开始所描述的业务功能,在实际的开发中,一个业务功能会对应多个dao接口,就是我们说的多表查询,而在初学的时候,我们通常会用一张表来学习,所以可能service接口中定义的方法会和dao接口中定义的方法名相同,但实际开发中不…...

    2024/4/29 22:13:02
  8. 2020-08-15

    8.14学习笔记1.基础模型:神经网络输入层+隐含层+输出层,非线性变换Sigmoid输出层:单一输出2.以类的方式组建网络初始化函数init:定义每层Forward函数:串联方式3.配置网络:卷积神经网络卷积层:局部视野+参数共享池化层:保留主要特征4.分类优化目标:分类任务用均方误差不…...

    2024/4/29 22:12:57
  9. 浅谈餐饮行业油烟监测误差来源及整改建议-安科瑞王婧

    【产品应用】浅谈餐饮行业油烟监测误差来源及整改建议 安科瑞王婧 彭峰 陈玉茹摘要 近年来,随着人们生活水平的提高,饮食业发展迅猛,环境监测者对饮食业油烟监测的力度及频次也呈逐年上升趋势,但是在日常监测过程中难免会产生一些误差。本文针对油烟监测过程中产生误差的主…...

    2024/4/29 22:12:54
  10. Android——使用AIDL实现进程间传递对象案例

    1 前言在 Android——使用AIDL实现进程间通讯简单案例 中介绍了使用 AIDL 在进程间传递字符串,对于8种基本数据类型( byte、short、int、long、float、double、boolean、char )和 CharSequence(包含 String )、List、Map,用法同理。需要注意:List 和 Map 中的所有元素必…...

    2024/4/29 22:12:50
  11. JVM调优

    文章目录1. 垃圾回收器1.1 分类1.2 GC性能指标1.3 详解1.3.1 串行垃圾回收器1.3.1.1 Serial 垃圾回收器1.3.1.2 Serial Old 垃圾回收器1.3.2 并行垃圾回收器1.3.2.1 ParNew垃圾回收器1.3.2.2 Parallel Scavenge:吞吐量优先1.3.2.3 Parallel Old:吞吐量优先1.3.2.4 CMS:低延迟…...

    2024/4/29 22:12:46
  12. IDEA 配置Maven 入门

    本文非原创,侵必删下载Maven 官方地址:http://maven.apache.org/download.cgi下载这个解压并新建一个本地仓库文件夹配置本地仓库路径配置maven环境变量在IntelliJ IDEA中配置maven 打开-File-Settings...

    2024/4/29 22:12:42
  13. restbed编译笔记

    Restbed 可以构建出基于asio库的restfulAPI服务,Restbed 4.7版本使用了1.12.0版本的asio(其他版本编译不通过),可直接访问github下载:https://github.com/chriskohlhoff/asio/tree/asio-1-12-0 。另外Restbed还依赖openssl库(可直接下载exe的安装包,安装后取出lib库及头…...

    2024/4/29 22:12:38
  14. 《人类简史》--摘录

    《人类简史》作者简介 以色列年轻作家尤瓦尔赫拉利代表作 ,书在2012年以希伯来文出版,然后很快就被翻译成近30种文字,不仅为全球学术界所瞩目,而且引起了一般公众的广泛兴趣。 尤瓦尔赫拉利,1976年生,牛津大学历史学博士,现为耶路撒冷希伯来大学的历史系教授,青年怪才,…...

    2024/4/29 22:12:36
  15. 牛客练习赛67-B、牛牛爱位运算

    题目链接 题意:给定一序列求字序列按位与之和的最大值。 思路:利用a&b≤max(a,b)a\&b\le max(a,b)a&b≤max(a,b)可知,只需求得数组内最大值即可。 代码: #include<cmath> #include<cstdio> #include<vector> #include<queue> #include…...

    2024/4/29 22:12:30
  16. 8-14 B站 C++安全开发面经 《腾讯》

    https://www.bilibili.com/video/BV12Z4y1H7ih?from=search&seid=84315500962966084331.考察点:技术、算法、思维逻辑技术:开发、逆向、数据结构、调试反调试、PE结构一、开发:应用层开发、内核层开发、设计模式应用层:线程、进程、通信、注入、hook1.线程间的同步方式…...

    2024/4/29 22:12:26
  17. 腾讯被指劝退高龄员工,华为百度也在优化,互联网35岁+该怎么办?

    昨天晚上,在刷某音的时候,突然刷到这样一个视频,虽然话题有点老,但是却很吸睛大厂在做人员优化,互联网寒冬,辞退大龄人员这样的话题看的有点多吧,尤其是去年年底的时候,可是现在,在这样一个时刻,疫情还没过去,不太好找工作的时候,这样的一个消息无疑是重磅深水炸弹…...

    2024/4/29 13:40:00
  18. JAVA学习16-java数组的创建,内存分析,初始化,特点,边界,使用学习

    JAVA-数组数组的定义数组是相同类型数据的有序集合.组描述的是相同类型的若干个数据,按照-定的先后次序排列组合而成。其中,每一个数据称作一个数组元素 每个数组元素可以通过一个下标来访问它们数组声明创建◆首先必须声明数组变量,才能在程序中使用数组。下面是声明数组变量…...

    2024/4/29 22:12:17
  19. Module build failed: TypeError: loaderContext.getResolve is not a function 特别注意:at Object.loader

    遇到的问题Module build failed: TypeError: loaderContext.getResolve is not a function 特别注意:at getWebpackImporter at Object.loader 这里表示是sass-loader版本过高 解决方法 这个就是sass-loader版本过高 只需要降低版本即可 卸载sass-loader : npm uninstall sa…...

    2024/4/29 22:12:15
  20. 前端面试题HTML+CSS基础篇——transition和animation的区别

    transition和animation的区别分析 transition和animation是通过css3实现动画的两种方式,但是两者存在着什么区别呢 首先先分别介绍一下transition和animation具体如何实现动画吧! 1. transition 举个例子: .box{width: 100px;height:100px;transition: width height 2s;}.bo…...

    2024/4/29 22:12:11

最新文章

  1. 顺序循环队列--c语言实现

    #include <stdio.h> #include <stdlib.h> #include <stdbool.h>#define MAX_SIZE 100 // 假设队列的最大长度为100// 队列结构体 typedef struct {int data[MAX_SIZE]; // 存储队列元素的数组int front; // 队头指针int rear; // 队尾指针 } SeqQueue;// 初…...

    2024/5/4 14:53:36
  2. 梯度消失和梯度爆炸的一些处理方法

    在这里是记录一下梯度消失或梯度爆炸的一些处理技巧。全当学习总结了如有错误还请留言&#xff0c;在此感激不尽。 权重和梯度的更新公式如下&#xff1a; w w − η ⋅ ∇ w w w - \eta \cdot \nabla w ww−η⋅∇w 个人通俗的理解梯度消失就是网络模型在反向求导的时候出…...

    2024/3/20 10:50:27
  3. 字符串匹配算法之BF与KMP算法

    目录 BF算法(暴力匹配算法) KMP算法 核心思想&#xff1a; next数组 next数组的优化 BF算法(暴力匹配算法) #include <assert.h> int BF(const char* str, const char* sub) {assert(str ! NULL && sub ! NULL);if (str NULL || sub NULL){return -1;}int…...

    2024/5/4 9:41:01
  4. WPS二次开发专题:WPS SDK实现文档打印功能

    作者持续关注WPS二次开发专题系列&#xff0c;持续为大家带来更多有价值的WPS开发技术细节&#xff0c;如果能够帮助到您&#xff0c;请帮忙来个一键三连&#xff0c;更多问题请联系我&#xff08;QQ:250325397&#xff09; 在办公场景或者家教场景中经常碰到需要对文档进行打印…...

    2024/5/1 13:31:33
  5. 416. 分割等和子集问题(动态规划)

    题目 题解 class Solution:def canPartition(self, nums: List[int]) -> bool:# badcaseif not nums:return True# 不能被2整除if sum(nums) % 2 ! 0:return False# 状态定义&#xff1a;dp[i][j]表示当背包容量为j&#xff0c;用前i个物品是否正好可以将背包填满&#xff…...

    2024/5/4 12:05:22
  6. 【Java】ExcelWriter自适应宽度工具类(支持中文)

    工具类 import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.CellType; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Sheet;/*** Excel工具类** author xiaoming* date 2023/11/17 10:40*/ public class ExcelUti…...

    2024/5/4 11:23:32
  7. Spring cloud负载均衡@LoadBalanced LoadBalancerClient

    LoadBalance vs Ribbon 由于Spring cloud2020之后移除了Ribbon&#xff0c;直接使用Spring Cloud LoadBalancer作为客户端负载均衡组件&#xff0c;我们讨论Spring负载均衡以Spring Cloud2020之后版本为主&#xff0c;学习Spring Cloud LoadBalance&#xff0c;暂不讨论Ribbon…...

    2024/5/4 14:46:16
  8. TSINGSEE青犀AI智能分析+视频监控工业园区周界安全防范方案

    一、背景需求分析 在工业产业园、化工园或生产制造园区中&#xff0c;周界防范意义重大&#xff0c;对园区的安全起到重要的作用。常规的安防方式是采用人员巡查&#xff0c;人力投入成本大而且效率低。周界一旦被破坏或入侵&#xff0c;会影响园区人员和资产安全&#xff0c;…...

    2024/5/3 16:00:51
  9. VB.net WebBrowser网页元素抓取分析方法

    在用WebBrowser编程实现网页操作自动化时&#xff0c;常要分析网页Html&#xff0c;例如网页在加载数据时&#xff0c;常会显示“系统处理中&#xff0c;请稍候..”&#xff0c;我们需要在数据加载完成后才能继续下一步操作&#xff0c;如何抓取这个信息的网页html元素变化&…...

    2024/5/4 12:10:13
  10. 【Objective-C】Objective-C汇总

    方法定义 参考&#xff1a;https://www.yiibai.com/objective_c/objective_c_functions.html Objective-C编程语言中方法定义的一般形式如下 - (return_type) method_name:( argumentType1 )argumentName1 joiningArgument2:( argumentType2 )argumentName2 ... joiningArgu…...

    2024/5/3 21:22:01
  11. 【洛谷算法题】P5713-洛谷团队系统【入门2分支结构】

    &#x1f468;‍&#x1f4bb;博客主页&#xff1a;花无缺 欢迎 点赞&#x1f44d; 收藏⭐ 留言&#x1f4dd; 加关注✅! 本文由 花无缺 原创 收录于专栏 【洛谷算法题】 文章目录 【洛谷算法题】P5713-洛谷团队系统【入门2分支结构】&#x1f30f;题目描述&#x1f30f;输入格…...

    2024/5/3 23:17:01
  12. 【ES6.0】- 扩展运算符(...)

    【ES6.0】- 扩展运算符... 文章目录 【ES6.0】- 扩展运算符...一、概述二、拷贝数组对象三、合并操作四、参数传递五、数组去重六、字符串转字符数组七、NodeList转数组八、解构变量九、打印日志十、总结 一、概述 **扩展运算符(...)**允许一个表达式在期望多个参数&#xff0…...

    2024/5/4 14:46:12
  13. 摩根看好的前智能硬件头部品牌双11交易数据极度异常!——是模式创新还是饮鸩止渴?

    文 | 螳螂观察 作者 | 李燃 双11狂欢已落下帷幕&#xff0c;各大品牌纷纷晒出优异的成绩单&#xff0c;摩根士丹利投资的智能硬件头部品牌凯迪仕也不例外。然而有爆料称&#xff0c;在自媒体平台发布霸榜各大榜单喜讯的凯迪仕智能锁&#xff0c;多个平台数据都表现出极度异常…...

    2024/5/4 14:46:11
  14. Go语言常用命令详解(二)

    文章目录 前言常用命令go bug示例参数说明 go doc示例参数说明 go env示例 go fix示例 go fmt示例 go generate示例 总结写在最后 前言 接着上一篇继续介绍Go语言的常用命令 常用命令 以下是一些常用的Go命令&#xff0c;这些命令可以帮助您在Go开发中进行编译、测试、运行和…...

    2024/5/4 14:46:11
  15. 用欧拉路径判断图同构推出reverse合法性:1116T4

    http://cplusoj.com/d/senior/p/SS231116D 假设我们要把 a a a 变成 b b b&#xff0c;我们在 a i a_i ai​ 和 a i 1 a_{i1} ai1​ 之间连边&#xff0c; b b b 同理&#xff0c;则 a a a 能变成 b b b 的充要条件是两图 A , B A,B A,B 同构。 必要性显然&#xff0…...

    2024/5/4 2:14:16
  16. 【NGINX--1】基础知识

    1、在 Debian/Ubuntu 上安装 NGINX 在 Debian 或 Ubuntu 机器上安装 NGINX 开源版。 更新已配置源的软件包信息&#xff0c;并安装一些有助于配置官方 NGINX 软件包仓库的软件包&#xff1a; apt-get update apt install -y curl gnupg2 ca-certificates lsb-release debian-…...

    2024/5/3 16:23:03
  17. Hive默认分割符、存储格式与数据压缩

    目录 1、Hive默认分割符2、Hive存储格式3、Hive数据压缩 1、Hive默认分割符 Hive创建表时指定的行受限&#xff08;ROW FORMAT&#xff09;配置标准HQL为&#xff1a; ... ROW FORMAT DELIMITED FIELDS TERMINATED BY \u0001 COLLECTION ITEMS TERMINATED BY , MAP KEYS TERMI…...

    2024/5/4 12:39:12
  18. 【论文阅读】MAG:一种用于航天器遥测数据中有效异常检测的新方法

    文章目录 摘要1 引言2 问题描述3 拟议框架4 所提出方法的细节A.数据预处理B.变量相关分析C.MAG模型D.异常分数 5 实验A.数据集和性能指标B.实验设置与平台C.结果和比较 6 结论 摘要 异常检测是保证航天器稳定性的关键。在航天器运行过程中&#xff0c;传感器和控制器产生大量周…...

    2024/5/4 13:16:06
  19. --max-old-space-size=8192报错

    vue项目运行时&#xff0c;如果经常运行慢&#xff0c;崩溃停止服务&#xff0c;报如下错误 FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory 因为在 Node 中&#xff0c;通过JavaScript使用内存时只能使用部分内存&#xff08;64位系统&…...

    2024/5/3 14:57:24
  20. 基于深度学习的恶意软件检测

    恶意软件是指恶意软件犯罪者用来感染个人计算机或整个组织的网络的软件。 它利用目标系统漏洞&#xff0c;例如可以被劫持的合法软件&#xff08;例如浏览器或 Web 应用程序插件&#xff09;中的错误。 恶意软件渗透可能会造成灾难性的后果&#xff0c;包括数据被盗、勒索或网…...

    2024/5/4 14:46:05
  21. JS原型对象prototype

    让我简单的为大家介绍一下原型对象prototype吧&#xff01; 使用原型实现方法共享 1.构造函数通过原型分配的函数是所有对象所 共享的。 2.JavaScript 规定&#xff0c;每一个构造函数都有一个 prototype 属性&#xff0c;指向另一个对象&#xff0c;所以我们也称为原型对象…...

    2024/5/4 2:00:16
  22. C++中只能有一个实例的单例类

    C中只能有一个实例的单例类 前面讨论的 President 类很不错&#xff0c;但存在一个缺陷&#xff1a;无法禁止通过实例化多个对象来创建多名总统&#xff1a; President One, Two, Three; 由于复制构造函数是私有的&#xff0c;其中每个对象都是不可复制的&#xff0c;但您的目…...

    2024/5/3 22:03:11
  23. python django 小程序图书借阅源码

    开发工具&#xff1a; PyCharm&#xff0c;mysql5.7&#xff0c;微信开发者工具 技术说明&#xff1a; python django html 小程序 功能介绍&#xff1a; 用户端&#xff1a; 登录注册&#xff08;含授权登录&#xff09; 首页显示搜索图书&#xff0c;轮播图&#xff0…...

    2024/5/4 9:07:39
  24. 电子学会C/C++编程等级考试2022年03月(一级)真题解析

    C/C++等级考试(1~8级)全部真题・点这里 第1题:双精度浮点数的输入输出 输入一个双精度浮点数,保留8位小数,输出这个浮点数。 时间限制:1000 内存限制:65536输入 只有一行,一个双精度浮点数。输出 一行,保留8位小数的浮点数。样例输入 3.1415926535798932样例输出 3.1…...

    2024/5/4 14:46:02
  25. 配置失败还原请勿关闭计算机,电脑开机屏幕上面显示,配置失败还原更改 请勿关闭计算机 开不了机 这个问题怎么办...

    解析如下&#xff1a;1、长按电脑电源键直至关机&#xff0c;然后再按一次电源健重启电脑&#xff0c;按F8健进入安全模式2、安全模式下进入Windows系统桌面后&#xff0c;按住“winR”打开运行窗口&#xff0c;输入“services.msc”打开服务设置3、在服务界面&#xff0c;选中…...

    2022/11/19 21:17:18
  26. 错误使用 reshape要执行 RESHAPE,请勿更改元素数目。

    %读入6幅图像&#xff08;每一幅图像的大小是564*564&#xff09; f1 imread(WashingtonDC_Band1_564.tif); subplot(3,2,1),imshow(f1); f2 imread(WashingtonDC_Band2_564.tif); subplot(3,2,2),imshow(f2); f3 imread(WashingtonDC_Band3_564.tif); subplot(3,2,3),imsho…...

    2022/11/19 21:17:16
  27. 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机...

    win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”问题的解决方法在win7系统关机时如果有升级系统的或者其他需要会直接进入一个 等待界面&#xff0c;在等待界面中我们需要等待操作结束才能关机&#xff0c;虽然这比较麻烦&#xff0c;但是对系统进行配置和升级…...

    2022/11/19 21:17:15
  28. 台式电脑显示配置100%请勿关闭计算机,“准备配置windows 请勿关闭计算机”的解决方法...

    有不少用户在重装Win7系统或更新系统后会遇到“准备配置windows&#xff0c;请勿关闭计算机”的提示&#xff0c;要过很久才能进入系统&#xff0c;有的用户甚至几个小时也无法进入&#xff0c;下面就教大家这个问题的解决方法。第一种方法&#xff1a;我们首先在左下角的“开始…...

    2022/11/19 21:17:14
  29. win7 正在配置 请勿关闭计算机,怎么办Win7开机显示正在配置Windows Update请勿关机...

    置信有很多用户都跟小编一样遇到过这样的问题&#xff0c;电脑时发现开机屏幕显现“正在配置Windows Update&#xff0c;请勿关机”(如下图所示)&#xff0c;而且还需求等大约5分钟才干进入系统。这是怎样回事呢&#xff1f;一切都是正常操作的&#xff0c;为什么开时机呈现“正…...

    2022/11/19 21:17:13
  30. 准备配置windows 请勿关闭计算机 蓝屏,Win7开机总是出现提示“配置Windows请勿关机”...

    Win7系统开机启动时总是出现“配置Windows请勿关机”的提示&#xff0c;没过几秒后电脑自动重启&#xff0c;每次开机都这样无法进入系统&#xff0c;此时碰到这种现象的用户就可以使用以下5种方法解决问题。方法一&#xff1a;开机按下F8&#xff0c;在出现的Windows高级启动选…...

    2022/11/19 21:17:12
  31. 准备windows请勿关闭计算机要多久,windows10系统提示正在准备windows请勿关闭计算机怎么办...

    有不少windows10系统用户反映说碰到这样一个情况&#xff0c;就是电脑提示正在准备windows请勿关闭计算机&#xff0c;碰到这样的问题该怎么解决呢&#xff0c;现在小编就给大家分享一下windows10系统提示正在准备windows请勿关闭计算机的具体第一种方法&#xff1a;1、2、依次…...

    2022/11/19 21:17:11
  32. 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”的解决方法...

    今天和大家分享一下win7系统重装了Win7旗舰版系统后&#xff0c;每次关机的时候桌面上都会显示一个“配置Windows Update的界面&#xff0c;提示请勿关闭计算机”&#xff0c;每次停留好几分钟才能正常关机&#xff0c;导致什么情况引起的呢&#xff1f;出现配置Windows Update…...

    2022/11/19 21:17:10
  33. 电脑桌面一直是清理请关闭计算机,windows7一直卡在清理 请勿关闭计算机-win7清理请勿关机,win7配置更新35%不动...

    只能是等着&#xff0c;别无他法。说是卡着如果你看硬盘灯应该在读写。如果从 Win 10 无法正常回滚&#xff0c;只能是考虑备份数据后重装系统了。解决来方案一&#xff1a;管理员运行cmd&#xff1a;net stop WuAuServcd %windir%ren SoftwareDistribution SDoldnet start WuA…...

    2022/11/19 21:17:09
  34. 计算机配置更新不起,电脑提示“配置Windows Update请勿关闭计算机”怎么办?

    原标题&#xff1a;电脑提示“配置Windows Update请勿关闭计算机”怎么办&#xff1f;win7系统中在开机与关闭的时候总是显示“配置windows update请勿关闭计算机”相信有不少朋友都曾遇到过一次两次还能忍但经常遇到就叫人感到心烦了遇到这种问题怎么办呢&#xff1f;一般的方…...

    2022/11/19 21:17:08
  35. 计算机正在配置无法关机,关机提示 windows7 正在配置windows 请勿关闭计算机 ,然后等了一晚上也没有关掉。现在电脑无法正常关机...

    关机提示 windows7 正在配置windows 请勿关闭计算机 &#xff0c;然后等了一晚上也没有关掉。现在电脑无法正常关机以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容&#xff0c;让我们赶快一起来看一下吧&#xff01;关机提示 windows7 正在配…...

    2022/11/19 21:17:05
  36. 钉钉提示请勿通过开发者调试模式_钉钉请勿通过开发者调试模式是真的吗好不好用...

    钉钉请勿通过开发者调试模式是真的吗好不好用 更新时间:2020-04-20 22:24:19 浏览次数:729次 区域: 南阳 > 卧龙 列举网提醒您:为保障您的权益,请不要提前支付任何费用! 虚拟位置外设器!!轨迹模拟&虚拟位置外设神器 专业用于:钉钉,外勤365,红圈通,企业微信和…...

    2022/11/19 21:17:05
  37. 配置失败还原请勿关闭计算机怎么办,win7系统出现“配置windows update失败 还原更改 请勿关闭计算机”,长时间没反应,无法进入系统的解决方案...

    前几天班里有位学生电脑(windows 7系统)出问题了&#xff0c;具体表现是开机时一直停留在“配置windows update失败 还原更改 请勿关闭计算机”这个界面&#xff0c;长时间没反应&#xff0c;无法进入系统。这个问题原来帮其他同学也解决过&#xff0c;网上搜了不少资料&#x…...

    2022/11/19 21:17:04
  38. 一个电脑无法关闭计算机你应该怎么办,电脑显示“清理请勿关闭计算机”怎么办?...

    本文为你提供了3个有效解决电脑显示“清理请勿关闭计算机”问题的方法&#xff0c;并在最后教给你1种保护系统安全的好方法&#xff0c;一起来看看&#xff01;电脑出现“清理请勿关闭计算机”在Windows 7(SP1)和Windows Server 2008 R2 SP1中&#xff0c;添加了1个新功能在“磁…...

    2022/11/19 21:17:03
  39. 请勿关闭计算机还原更改要多久,电脑显示:配置windows更新失败,正在还原更改,请勿关闭计算机怎么办...

    许多用户在长期不使用电脑的时候&#xff0c;开启电脑发现电脑显示&#xff1a;配置windows更新失败&#xff0c;正在还原更改&#xff0c;请勿关闭计算机。。.这要怎么办呢&#xff1f;下面小编就带着大家一起看看吧&#xff01;如果能够正常进入系统&#xff0c;建议您暂时移…...

    2022/11/19 21:17:02
  40. 还原更改请勿关闭计算机 要多久,配置windows update失败 还原更改 请勿关闭计算机,电脑开机后一直显示以...

    配置windows update失败 还原更改 请勿关闭计算机&#xff0c;电脑开机后一直显示以以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容&#xff0c;让我们赶快一起来看一下吧&#xff01;配置windows update失败 还原更改 请勿关闭计算机&#x…...

    2022/11/19 21:17:01
  41. 电脑配置中请勿关闭计算机怎么办,准备配置windows请勿关闭计算机一直显示怎么办【图解】...

    不知道大家有没有遇到过这样的一个问题&#xff0c;就是我们的win7系统在关机的时候&#xff0c;总是喜欢显示“准备配置windows&#xff0c;请勿关机”这样的一个页面&#xff0c;没有什么大碍&#xff0c;但是如果一直等着的话就要两个小时甚至更久都关不了机&#xff0c;非常…...

    2022/11/19 21:17:00
  42. 正在准备配置请勿关闭计算机,正在准备配置windows请勿关闭计算机时间长了解决教程...

    当电脑出现正在准备配置windows请勿关闭计算机时&#xff0c;一般是您正对windows进行升级&#xff0c;但是这个要是长时间没有反应&#xff0c;我们不能再傻等下去了。可能是电脑出了别的问题了&#xff0c;来看看教程的说法。正在准备配置windows请勿关闭计算机时间长了方法一…...

    2022/11/19 21:16:59
  43. 配置失败还原请勿关闭计算机,配置Windows Update失败,还原更改请勿关闭计算机...

    我们使用电脑的过程中有时会遇到这种情况&#xff0c;当我们打开电脑之后&#xff0c;发现一直停留在一个界面&#xff1a;“配置Windows Update失败&#xff0c;还原更改请勿关闭计算机”&#xff0c;等了许久还是无法进入系统。如果我们遇到此类问题应该如何解决呢&#xff0…...

    2022/11/19 21:16:58
  44. 如何在iPhone上关闭“请勿打扰”

    Apple’s “Do Not Disturb While Driving” is a potentially lifesaving iPhone feature, but it doesn’t always turn on automatically at the appropriate time. For example, you might be a passenger in a moving car, but your iPhone may think you’re the one dri…...

    2022/11/19 21:16:57