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
+7 -7
View File
@@ -26,7 +26,7 @@ int mulHash(string key) {
return (int)hash;
}
/* XOR ハッシュ */
/* 排他的論理和ハッシュ */
int xorHash(string key) {
int hash = 0;
const int MODULUS = 1000000007;
@@ -46,21 +46,21 @@ int rotHash(string key) {
return (int)hash;
}
/* Driver Code */
/* 実行用コード */
int main() {
string key = "Hello アルゴリズム";
string key = "Hello 算法";
int hash = addHash(key);
cout << "加算ハッシュ値は " << hash << endl;
cout << "加算ハッシュの値は " << hash << endl;
hash = mulHash(key);
cout << "乗算ハッシュ値は " << hash << endl;
cout << "乗算ハッシュの値は " << hash << endl;
hash = xorHash(key);
cout << "XORハッシュ値は " << hash << endl;
cout << "排他的論理和ハッシュの値は " << hash << endl;
hash = rotHash(key);
cout << "回転ハッシュ値は " << hash << endl;
cout << "回転ハッシュの値は " << hash << endl;
return 0;
}