This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import socket | |
import struct | |
import json | |
import time | |
class StatusPing: | |
""" Get the ping status for the Minecraft server """ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
def merge_sort(a): | |
n = len(a) | |
if n < 2: | |
return a | |
l = merge_sort(a[:n//2]) | |
r = merge_sort(a[n//2:n]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding=utf-8 | |
import random | |
n = 10 | |
A = [random.randint(0, 10) for i in range(0, n)] | |
def partition(array, start, end): | |
pivot = array[(start + end) // 2] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program _qSort; | |
const | |
n = 10-1; | |
var | |
A: array[0..n] of integer; | |
i: integer; | |
procedure print(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace cSharp { | |
class Program { | |
static int partition(int[] A, int start, int end) { | |
int pivot = A[(start + end) / 2]; | |
int i = start; | |
int j = end; | |
while (i <= j) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program merge_sort; | |
const | |
n = 10; | |
var | |
mas: array [1..n] of integer; | |
i: integer; | |
procedure MergeSort(a, c: integer); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"constructors": [ | |
{ | |
"id": "481674261", | |
"predicate": "vector", | |
"params": [], | |
"type": "Vector t" | |
}, | |
{ | |
"id": "85337187", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# before run this script install required packages via command below | |
# pip3 install -U pytgcalls==3.0.0.dev24 | |
import asyncio | |
import pytgcalls | |
import telethon | |
# EDIT THIS | |
# more info about API keys here https://docs.telethon.dev/en/latest/basic/signing-in.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://t.me/tgcrawl |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"v": "5.9.6", | |
"fr": 15, | |
"ip": 0, | |
"op": 161, | |
"w": 343, | |
"h": 72, | |
"nm": "knopka_sborka2", | |
"ddd": 0, | |
"assets": [ |
OlderNewer