UVA1391、LA3713【astronauts...】【2 -SAT】

这题一开始自己想到了3-SAT尴尬。。。

照着敲了个试试,好像不太对。。     深入的3-SAT不会,有点囧

然后就积极往2-SAT上想

想分开小于ave和大于等于ave的两部分各自2-SAT不能考虑某些情况,显然。。。

于是呵呵了。。

 

正解是分开讨论。       如果a和b都小于ave或都是大于等于ave的            或一个小于ave一个大于ave。。            

                                            这种情况不能同时为真或为假                                           这种情况只要不同时为假即可可同时为真

                         

自己错的也是有收获的。 2-SAT问题可转化为真假性问题,但只要是二义性(??呵~~)就可。

还有就是这个分类讨论的思想。       有点欠缺。      给自己一个差评。闭嘴

代码提交不了。囧

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Hello, today I want to introduce one of my favorite movies, Interstellar. Interstellar is a science-fiction drama film directed by Christopher Nolan, released in 2014. The movie takes place in a dystopian future where a blight caused by environmental changes has wiped out most of Earth's crops, making farming nearly impossible. Cooper, a former astronaut, is recruited by a secret NASA project to find a new home for the human race on another planet, as Earth is becoming uninhabitable. Cooper, played by actor Matthew McConaughey, leads a group of other astronauts into space, travelling through a wormhole to another galaxy in the hope of finding a suitable planet to populate. Along the way, they encounter several obstacles including physical dangers, time dilation, and the potential of never returning home. The movie explores complex scientific concepts such as the theory of relativity and the nature of time, while also examining the emotional toll that space travel has on individuals and family relationships. The soundtrack, composed by Hans Zimmer, further enhances the emotional impact of the film. Interstellar received critical acclaim for its innovative storytelling, stunning visual effects, and thought-provoking themes. The movie also earned five Oscar nominations and won the award for Best Visual Effects. Overall, Interstellar is an extraordinary film that pushes the boundaries of science-fiction and delivers a powerful narrative about humanity's search for a new home in the universe.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值