Retranslate the complete Japanese online edition from Chinese (#2008)

* Retranslate the complete Japanese online edition from Chinese

* Fit Japanese homepage labels and localize heading permalinks

* Point Japanese contribution instructions to the Japanese preview

* Replace locale conditionals with multilingual UI tables
This commit is contained in:
Yudong Jin
2026-10-30 02:12:26 +08:00
committed by GitHub
parent 455e8c1281
commit 7257641e0e
1987 changed files with 23531 additions and 23261 deletions

View File

@@ -21,7 +21,7 @@ def sum_recur(n: int) -> int:
def linear_loop(n: int) -> int:
"""線形時間のループ"""
"""線形オーダーのループ"""
res = 0
for i in range(n):
res += i
@@ -29,7 +29,7 @@ def linear_loop(n: int) -> int:
def quadratic_loop(n: int) -> int:
"""二次時間のループ"""
"""二次オーダーのループ"""
res = 0
for i in range(n):
for j in range(i, n):
@@ -38,7 +38,7 @@ def quadratic_loop(n: int) -> int:
def logarithmic_loop(n: int) -> int:
"""対数時間のループ"""
"""対数オーダーのループ"""
while n > 1:
n //= 2
return n