# Luogu Puzzle Hunt 1/语言学竞赛

### Content of the Puzzle

On different continents, people speak different languages ...

```#include<iostream>
int main()
{
std::cout << char(115) << std::endl;
return 0;
}```
```let cnt=0;
let cap=10000;
for(let a=1;a<=cap;a++)
for(let b=1;b<=cap;b++)
for(let c=1;c<=cap;c++)
for(let d=1;d<=cap;d++)
if(a+b==c*d&&a*b==c+d)
cnt++;
console.log(String.fromCharCode('a'.charCodeAt()+cnt+Math.floor(Math.sqrt(cnt))));```
```def KnuthArrow(a,n,b):
if n==1:
return a**b
if b==0:
return 1
return KnuthArrow(a,n-1,KnuthArrow(a,n,b-1))

def G(n):
if n==1:
return KnuthArrow(3,4,3)
return KnuthArrow(3,G(n-1),3)

GrahamsNumber=G(64)
result=GrahamsNumber%327129490174100
index=result%26
print(chr(ord('a')+index))```
```import Data.Char (ord,chr)

getStr st = (show st) ++ (getStr (st+1))

findPos str1 str2 = if (take (length str1) str2) == str1 then 0 else (1+(findPos str1 (tail str2)))

findNumber n = findPos (show n) (getStr 1)

main = do
print(chr (fromInteger((toInteger(ord 'a'))+((findNumber 238943289532235) `mod` 26))))```
```+
[>++<-]>
[<++>-]<
[>+++<-]>[<++>-]<
[>++<-]>[<++>-]<
+.```
```+
[>++<-]>
[<++>-]<
[>+++<-]>[<++>-]<
[>++<-]>[<++>-]<
+.```
```注曰「「文言編程與西文之字母難以並用，故所曰僅為其數值編碼，以其最首字母为一。」」

若「甲」等於零者。乃得零也。
若「甲」等於一者。乃得一也。
減「甲」以一。減「甲」以二。名之曰「乙」。曰「丙」。
施「斐氏列」於「乙」。名之曰「丁」。
施「斐氏列」於「丙」。名之曰「戊」。
加「丁」以「戊」。名之曰「己」。
除「己」以「模」。所餘幾何。名之曰「庚」。
乃得「庚」。

```LGPH special cake.

Ingredients.
80 g participants
4 g problem setter
20 g problems
8 g middle problems
3 g meta problems

Cooking time: 156 hours.

Pre-heat oven to 514 degrees Celsius.

Method.
Put participants into the mixing bowl.
Add problem setter to the mixing bowl.
Add problems to the mixing bowl.
Add middle problems to the mixing bowl.
Add meta problems to the mixing bowl.
Liquefy contents of the mixing bowl.
Pour contents of the mixing bowl into the baking dish.

Serves 1.```