Pretty much the title. Array length is not limited to 30000 anymore, it is calculated on the compile time.
It passed all the tests
Input file: file.txt
Out file: out.c
It is compiled to c code
def reverse_array(array: list) -> list: | |
out = []; | |
i = len(array) - 1; | |
while (1): | |
out.append(array[i]); | |
if (i == 0): return out; | |
i -= 1; |
Pretty much the title. Array length is not limited to 30000 anymore, it is calculated on the compile time.
It passed all the tests
Input file: file.txt
Out file: out.c
It is compiled to c code
^[a-zA-Z0-9._]+@\w+(\.\w{2,}){1,}$
To edit the string, change it in the variable in the file at line 3.
import random as r, time as t
STRING = 'ur gay';
offset = r.randint(0, 10000);
encryptS = list();
c = 0;
from math import gcd
def carmi(n):
copr = [x for x in range(1, n) if gcd(x, n) == 1]
k = 1
while not all(pow(x, k, n) == 1 for x in copr):
k += 1
return k
If you get an import error on line 1, change math
to fractions
and see how it works
import random as r, time as t | |
STRING = 'You are gay\n'; | |
offset = r.randint(0, 10000); | |
encryptS = list(); | |
c = 0; | |
def rands(sz): return ''.join(r.choices(list('abcdef1234567890'), k=sz)); | |
for i in STRING: |
<?php | |
function arr2table($array, $headers = true) { | |
$buffer = '<table><tbody><tr>' . ($headers ? '<td>Index</td>' : ''); | |
foreach($array as $i => $val) { | |
$buffer .= "<td>$i</td>"; | |
} | |
$buffer .= '</tr>' . ($headers ? '<td>Value</td>' : ''); | |
foreach($array as $i => $val) { | |
$buffer .= '<td>' . print_r($val, true) . '</td>'; | |
} |
#!/bin/bash | |
yes "" | sudo pacman -S gnome-terminal qemu | |
wget https://desktop.docker.com/linux/main/amd64/docker-desktop-4.14.1-x86_64.pkg.tar.zst?utm_source=docker&utm_medium=webreferral&utm_campaign=docs-driven-download-linux-amd64 -o docker.pkg.tar.zst | |
yes "" | sudo pacman -U docker.pkg.tar.zst | |
echo "$USER:100000:65536" >> sudo /etc/subuid | |
echo "$USER:100000:65536" >> sudo /etc/subgid | |
systemctl > /dev/null 2&>1 | |
if [ $? -ne 0 ]; then | |
echo "It seems that you don't use systemd. Start the docker-desktop service manually using your init." |
# code snippet for dockerfiles | |
# FROM debian:bullseye-slim | |
RUN \ | |
apt-get install -y lsb-release ca-certificates apt-transport-https software-properties-common gnupg2 && \ | |
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/sury-php.list && \ | |
curl -fsSL https://packages.sury.org/php/apt.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/sury-keyring.gpg && \ | |
apt-get update |