HackThink
  • Home
  • Codelib
  • Tag
  • About
  • Link
  • Fox
Interview: Safe Distance | 面试: 安全距离

Interview: Safe Distance | 面试: 安全距离

Problem 题面In a classroom with n seats, numbered from 0 to n-1, a student must choose the seat with the largest minimum distance to any other occupied seat. If multiple seats satisfy this condition, ch
2025-08-31
#Data Structure
LeetCode: Integer to English Words | 力扣: 整数转换英文表示

LeetCode: Integer to English Words | 力扣: 整数转换英文表示

Problem 题面https://leetcode.cn/problems/integer-to-english-words/description/ Code 代码12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626
2025-08-31
#Algorithm
Quantum Error Correction: Shor Code

Quantum Error Correction: Shor Code

Quantum error correction algorithms are a core technology in the field of quantum computing, designed to address the issue of quantum bits (qubits) being highly susceptible to environmental interferen
2025-08-31
#Quantum Computing
Quantum Error Correction: Stablizer

Quantum Error Correction: Stablizer

After a simple example of Shor Code, this article will introduce stabilizer as a tool to build and analyze quantum error correction circuits. Why do we need stabilizers?One key point of quantum error
2025-08-31
#Quantum Computing
量子纠错: Shor Code

量子纠错: Shor Code

量子纠错算法是量子计算领域的核心技术之一,旨在应对量子比特(qubits)易受环境干扰导致信息丢失或出错的问题。由于量子系统的特性, 如叠加态和量子纠缠, 使得量子信息极其脆弱, 任何微小的噪声或相位偏移都可能破坏计算的准确性。量子纠错通过设计特殊的编码方案, 将一个量子比特的信息分布到多个物理量子比特上, 从而检测和纠正错误, 而不会破坏量子态。例如, 经典的量子纠错码包括肖尔码 (Shor C
2025-08-31
#Quantum Computing
Network Flow

Network Flow

1: Problem DescriptionAs stated, given a network graph with a source node and a sink node, calculate the maximum flow in the network. 1.1: Input FormatThe first line contains four positive integers: $
2025-01-02
#Algorithm
Basic Reverse Engineering by using GDB

Basic Reverse Engineering by using GDB

ProblemThe challenge is to determine the correct set of five inputs expected by each of the four safes (s1, s2, s3, s4). Running the binary file prompts you to input guesses sequentially, as demonst
2024-11-29
#Reverse Engineering
12

Suchen

Hexo Fluid
Total Visited Times Total Unique Visitors