sexta-feira, 24 de dezembro de 2021

Jumentos Estão Fazendo Provas

Eu resolvi uma questão de concurso para me divertir.

Cinco candidatos, Aldo, Baldo, Caldo, Delcio e Elcio participam da última etapa de um processo seletivo no qual o avaliador entrevista cada um deles, atribuindo-lhes notas de 0 a 100. As notas atribuídas aos cinco candidatos foram 71, 76, 80, 82 e 91, não necessariamente nessa ordem.

Em uma planilha de cálculo, os nomes dos candidatos estavam em ordem alfabética. Ao inserir as notas de cada candidato ao lado de seu nome, a planilha calculava automaticamente a média das notas já inseridas. O avaliador percebeu que a média, após cada inserção, não se mantinha constante, mas era sempre um número inteiro.

Nessas condições, o candidato que obteve a maior nota foi

A) Aldo.
B) Baldo.
C) Caldo.
D) Delcio.
E) Elcio.

Eu fiz isso:

Números ímpares 71 e 91
Números pares 76, 80 e 82

71 + 91 = 162
162 + 76 = 238
162 + 80 = 242
162 + 82 = 244

76 + 80 = 156
156 + 71 = 227
156 + 82 = 238
156 + 91 = 247

76 + 82 = 158
158 + 71 = 229
158 + 80 = 238
158 + 91 = 249

249 + 71 = 320
320 + 80 = 400

80 + 82 = 162
162 + 71 = 233
162 + 76 = 238
162 + 91 = 253

76 ou 82, 76 ou 82, 91, 71 e 80.

A soma de dois números pares ou impares, dá um número par, e a soma de um número par com um ímpar, dá um número impar.

Eu somei somente números pares com pares e números ímpares com impares.

A primeira e a terceira soma teriam que ser pares.

Depois eu somei com os outros números e procurei as somas que são múltiplos de 3.

A segunda soma teria que ser múltiplo de 3.

Só teve uma soma. Essa soma era ímpar. Eu somei com o outro número ímpar e depois somei com o número que sobrou.

Na única sequência que a média é sempre um número inteiro, Caldo tirou a maior nota.

A resposta oficial é Caldo.

Nessa questão tem uma falha. O avaliador percebeu que a média, após cada inserção, não se mantinha constante.

76 ou 82
158 / 2 = 79
249 / 3 = 83
320 / 4 = 80
400 / 5 = 80

A média foi 76 ou 82, 79, 83, 80 e 80.

A média se manteve constante durante a quarta e a quinta inserção.

Eles terem escrito que a média, após cada inserção, não se mantinha constante, tornou o enunciado errado.

Esses jumentos não tinham que terem escrevido que a média, após cada inserção, não se mantinha constante.

sábado, 18 de dezembro de 2021

Chess Failure

Part 1

See these games:

First game


White plays Qxa6, black plays Nxa6 and white plays Bxa6.

It's black's turn.

Second game


White plays Rb8+, black plays Rxb8 and white plays Be4+.

It's black's turn.

Third game


White plays Bd5+, black plays Qxd5 and white plays knight Nxd5.

It's black's turn.

Fourth game


White plays Qh1+, black plays Qxh1, white plays Nxh1, black plays a4, white plays Ng3, black plays a3, white plays Ne4, black plays a2, white plays Ned6, black promotes to queen and white plays Nc7+.

It's black's turn.

Fifth game


White plays Bg2+, black plays Qxg2, white plays Ngx2, black plays d5, white plays Nf4, black plays d4 and white plays Nd5.

It's black's turn.


Stockfish says that in all five games white checkmate in one move.

Black has a play that draws all five games.

Computers cannot see this move.

Think for 5 minutes about how black draws all five games.

When one player's time runs out and the other player has king and knight or king and two knights or king and bishop, it's a tie. This is a chess flaw.

For black to tie all five games, they just let the time run out.

In endings when players sacrifice pieces to checkmate and are left with only one or two knights or a bishop, opponents can let time run out and get a time tie against insufficient material.

On chess.com 3 million games are played per day.

In bullet and blitz games, many games should end up in a tie for this glitch. A player puts the opponent in a checkmate sequence, the opponent starts to think more and spend more time, the player sacrifices pieces to checkmate and is left with only a knight or two knights or a bishop, and the opponent's time is up. Tied game.

In chess there are many draws. A rule that says it's a tie if one player runs out of time and the other has insufficient material contributes to this and makes games that a player deserved to win end up in a tie.

Upon learning of this flaw, many players will let their time run out to tie a lost game.

Players who are winning have to worry about whether their opponent is going to make a perpetual one. Making players who are about to checkmate have to worry that their opponent is going to let their time run out is ridiculous.

This flaw allows losing players to purposely enter a streak where their opponent is left with only one or two knights or a bishop and checkmate, to let their time run out and tie.

FIDE's rule says that when one player's time is up and the other player is able to checkmate through a sequence of moves, it is the other player's victory. This is also a chess flaw.

This rules makes the player who has a queen and 3 pawns lose to the player who has a bishop.

The advice I give to FIDE and to the chess sites is that when the time runs out for one player who has enough material and the other has one or two knights or a bishop, let the player who has one or two knights or bishop decide if he want to continue playing.

If he doesn't want to, the match will draw.

If he wants to, both players will buy time and the game will continue.

If the game continues and a player's time runs out, that player will lose.

That way the injustice that happened in the game between Magnus Carlsen and Alireza Firouzja will no longer happen.


Part 2

I will show you how to tie a lost game.


Stockfish says white gives checkmate in 6 moves.

White plays Qe5+.

If black plays Ka8, white gives checkmate in 5 moves, if black plays Rd6, white gives checkmate in 3 moves, and if black plays Kc8, white gives checkmate in 2 moves.

Black needs to make white checkmate with a knight.

Black has to play Ka8.

White plays Ndc7+.

Black can play Kb8 or Rxc7.

Both moves are checkmate in 4 moves.

Black needs to take white queen before taking a knight so that he has a move with white without the queen.

Black has to play Kb8.

White plays Na6.

Black can play Ka8 or Kc8.

Both moves are checkmate in 3 moves.

Black has to keep going with the king from a8 to b8, so that white sacrifices the queen and gives Philidor's Mate.

Black has to play Ka8.

White can play Qb8+ or Nbc7+.

Qb8+ checkmate in 3 moves and Nbc7+ checkmate in 5 moves.

If white plays Qb8+, black gets a tie because he will play Rxb8 and white will play Nac7+ or Nbc7+ and black will let time run out and get a time tie against insufficient material.

If you are white, you have to play Nbc7+ instead of Qb8+, to force black to take a knight and you can checkmate without black having a move where you are out of the queen.

Black will play Rxc7, you will play Nxc7+, black will play Kb8 and you will play Na6+.

If black plays Ka8, you will play Qb8+, black will play Rxb8, and you will play Nc7#.

If black plays Kc8, you will play Qc7#.

You will be able to do this in matches on chess.com.

There are people who get angry when the opponent plays fast and their time is up.

There will be people who will be angry when the opponent runs out of time to tie a lost game.


Part 3

Veselin Topalov beat Anatoly Karpov with 2 knights against pawn.

Sergey Karjakin beat Samuel Sevian with 2 knights against pawn.

If these matches were on chess.com, players who were to get checkmate could let time run out and tie for time against insufficient material.


Part 4

I saw a video where a professional player leaves the king in the corner with a pawn in front and a bishop on the side and the diagonal open.

I created this position.


White are in a won position.

Stockfish tells white to play Rxf6 and black to play Bd6.

If you're black on chess.com, you can tie.

You tie playing Qxf6 instead Bd6.

If black plays Qxf6, white gives checkmate in 4 moves.

White would play Qe4+, black would play fxe4, white would play Bxe4+, black would play Bd5, white would play Bxd5+, black would play Qc6 and White would play Bxc6#.

To tie, you must enter this streak that leads to checkmate in 4 moves. When the opponent runs out of queen, let your time run out. You will get a time tie against insufficient material.

Your opponent will see you entering a checkmate streak and will think you didn't see the checkmate streak by sacrificing the queen on e4. When he sees the tie, he'll see you saw it.

Chess players don't teach this.

That rule has to be changed.

You'll escape losing a match by entering a checkmate streak.

segunda-feira, 6 de dezembro de 2021

Você vai Escapar de Perder uma Partida

Eu vi um vídeo em que um jogador profissional deixa o rei no canto com um peão na frente e o bispo do lado e a diagonal aberta.

Eu criei essa posição.


As brancas estão ganhas.

O Stockfish diz para as brancas jogarem Txf6 e para as pretas jogarem Bd6.

Se você estiver de pretas no chess.com, você consegue empatar.

Você empata jogando Dxf6 ao invés de Bd6.

Se as pretas jogarem Dxf6, as brancas dão xeque mate em 4 lances.

As brancas jogariam De4, as pretas jogariam fxe4, as brancas jogariam Bxe4, as pretas jogariam Bd5, as brancas jogariam Bxd5, as pretas jogariam Dc6 e as brancas jogariam Bxc6 xeque mate.

Para empatar, você deve entrar nessa sequência que leva xeque mate em 4 lances. Quando o adversário ficar sem a dama, deixe o seu tempo cair. Você vai conseguir um empate por tempo contra material insuficiente.

O seu adversário vai ver você entrando numa sequência que leva xeque mate e vai pensar que você não viu a sequência que dá xeque mate sacrificando a dama em e4. Quando ele ver o empate, ele vai ver que você viu.

Os jogadores de xadrez não ensinam isso.

Essa regra tem que ser mudada.

Você vai escapar de perder uma partida entrando numa sequência que leva xeque mate.

Meu Conselho Para as Empresas que Fazem Cartões

Na fatura do cartão não tem como a pessoa saber em que tipo de empresa ela gastou o dinheiro e não tem como a pessoa saber quanto ela gastou em cada tipo de empresa.


O conselho que eu dou para as empresas que fazem cartões, é que façam cartões que mostrem que tipo de empresa a pessoa gastou o dinheiro e quanto ela gastou em cada tipo de empresa.

Quando a pessoa for registrar uma máquina de cartão, ela vai ter que dizer qual tipo de empresa usará.

Na fatura do cartão vai aparecer:
Sebastian - Cinema - R$10,00;
Paulo - Posto - R$190,00;
Gabriel - Supermercado - R$10,00;
Gustavo - Supermercado - R$70,00;
Pedro - Cinema - R$30,00;
Roberto - Posto - R$200,00;
Matheus - Supermercado - R$190,00;
Total - R$700,00.
Cinemas - R$40,00;
Postos - R$390,00;
Supermercados - R$270,00.

As pessoas vão saber que tipo de empresa elas gastaram o dinheiro e quanto elas gastaram em cada tipo de empresa.