...
Advent of Code 2017
echo 1122 | awk '{split($0,c,"");r=0;for(i=1;i
do i get paid or win a job for solving these problems?
Look, you're trapped here forever. Solving these is an option to kill your boredom in this shithole and to show off languages.
thats what shitpostings for cunt
>MUUUUUH (((BOTNET)))
have you considered killing yourself?
Shut up and code.
My thoughts exactly...
I got this in python, nothing fancy:
line = open("input.txt", "r").readline();acum = 0;for i in range(0, len(line)): if line[i - 1] == line[i]: acum += int(line[i]);print(acum);
line = open("input.txt", "r").readline();acum = 0;for i in range(0, len(line)): if line[i - len(line) // 2] == line[i]: acum += int(line[i]);print(acum);
b-but user there's no other coding challenge sites