all stats

yeti's stats

guessed the most

namecorrect guessesgames togetherratio

were guessed the most by

namecorrect guessesgames togetherratio

entries

round #62

submitted at
0 likes

guesses
comments 0

post a comment


edit.py ASCII text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from sortedcontainers import SortedDict
buffer = SortedDict({})
while True:
    inp = input(">> ")
    parts = inp.split(" ")
    if len(parts) == 0:
        continue
    if parts[0].isnumeric():
        num = int(parts[0])
        buffer[num] = " ".join(parts[1:])
    elif parts[0] == "list":
        for key in buffer.keys():
            print(f"{key}: {buffer[key]}")
    elif parts[0] == "save":
        file = open(parts[1], "w")
        for key in buffer.keys():
            file.write(buffer[key] + "\n")
        print("saved")
    elif parts[0] == "open":
        file = open(parts[1], "r")
        lineNum = 10
        for line in file:
            buffer[lineNum] = line.rstrip()
            lineNum += 10
    else:
        print(f"Unknown command {parts[0]}")

round #58

submitted at
1 like

guesses
comments 2
jan Pune

jan pune



post a comment


main.sh ASCII text
1
curl https://cg.esolangs.gay/58/ | tail -n 24 | head -n 11

round #51

submitted at
0 likes

guesses
comments 0

post a comment


test.d ASCII text
1
2
import std;
void main() => readln.chomp.length.writeln;