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
pagead46.l.doubleclick.net | |
pagead2.googlesyndication.com | |
partner.googleadservices.com | |
pubads.g.doubleclick.net | |
redirector.gvt1.com | |
s0.2mdn.net | |
securepubads.g.doubleclick.net | |
tpc.googlesyndication.com | |
v.jwpcdn.com | |
video-ad-stats.googlesyndication.com |
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
/** | |
* @name SendEmbeds | |
* @author Cloudburst | |
* @version 2.1.0 | |
* @description Allows you to send embeds | |
* @website https://gist.github.com/C10udburst/b7a12bc03a49fbaaca47e9ac42759f5f | |
* @source https://gist.githubusercontent.com/C10udburst/b7a12bc03a49fbaaca47e9ac42759f5f/raw/dbddc0a912ad2026a15226ea937012197e1573c5/betterSendEmbeds.js | |
*/ | |
const config = { |
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
from functools import reduce | |
from math import sqrt | |
numbers_str = open("liczby7.txt", "r", encoding='utf-8').read().strip().split("\n") | |
numbers = [int(x) for x in numbers_str] | |
max_number = reduce(max, numbers) | |
prime_list_max = max_number + 1000 # musi byc wiecej aby is_prime[i + 2] zadzialalo dla duzych liczb | |
is_prime = [True] * prime_list_max | |
is_prime[0] = False |
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
from itertools import product | |
from functools import reduce | |
liczby_str = open("liczbyplus.txt", "r", encoding='utf-8').read().strip().splitlines() | |
liczby_str.sort(reverse=True) | |
liczby = [int(l) for l in liczby_str] | |
liczby_max = reduce(max, liczby) | |
fibonacci = [1, 2] | |
while fibonacci[-1] < liczby_max: |
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
from functools import reduce | |
from http.client import HTTPConnection | |
from operator import add, and_ | |
conn = HTTPConnection("informatyka.iq.pl") | |
conn.request("GET", "/downloads/sil.txt") | |
with conn.getresponse() as resp: | |
sil = [x.split(" ") for x in resp.read().decode('utf-8').strip().splitlines()] | |
print("Zad. 1.") |
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
""" | |
A helper class that behaves similarly to a JS object. A cross between dict() and types.SimpleNamespace(). Can be cast into a dict. | |
Examples: | |
>>> data = ns(test=True, abc={"d":1}) | |
>>> data.test | |
True | |
>>> data['test'] | |
True | |
>>> data.abc.d |
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
#define IO_SPEED 1 | |
#include <bits/stdc++.h> | |
#define MODULO 1000000000 | |
using namespace std; | |
int main() { | |
#if IO_SPEED>0 | |
std::ios_base::sync_with_stdio(false); |
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
/* | |
"Hashdict" | |
Biblioteka do szybkiego wyszukiwania elementów w słowniku. | |
Biblioteka nie jest zabezpieczona przed błędami użytkownika. | |
Użytkownik musi zagwarantować, że nie będzie usuwał elementów z tablicy, | |
do której wskazuje wartość zwracana przez funkcję hd_find. | |
Biblioteka nie jest zabezpieczona przed błędami użytkownika. | |
*/ | |
#include "hashdict.h" |
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
#include "avl_extra.h" | |
/* | |
Biblioteka zawiera dodatkowe funkcje AVL, które nie są używane w ostatecznym programie, ale są przydatne przy testowaniu. | |
Zakładamy, że użytkownik zaimplementował avl_value_write_dot() | |
*/ | |
/* | |
Funkcja pomocnicza do avl_write_dot() |
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
[{"instruction": "Przet\u0142umacz zdanie 'Dzie\u0144 dobry' na j\u0119zyk hiszpa\u0144ski.", "input": "Dzie\u0144 dobry", "output": "Buenos d\u00edas"}, {"instruction": "Podaj przepis na pierogi ruskie.", "output": "Sk\u0142adniki na ciasto: m\u0105ka, jajko, woda, olej, s\u00f3l. Sk\u0142adniki na farsz: ziemniaki, ser bia\u0142y lub twar\u00f3g, cebula, s\u00f3l, pieprz. Ciasto ugnie\u015b\u0107, rozwa\u0142kowa\u0107 i wycina\u0107 na k\u00f3\u0142ka. W mi\u0119dzyczasie ziemniaki ugotowa\u0107 i zetrze\u0107, ser zemle\u0107 lub przetrze\u0107 przez sito i po\u0142\u0105czy\u0107 z ziemniakami. Cebul\u0119 podsma\u017cy\u0107 i doda\u0107 do masy. Doprawi\u0107 sol\u0105 i pieprzem. Pierogi gotowa\u0107 w osolonej wodzie, a\u017c wyp\u0142yn\u0105 na powierzchni\u0119. Podawa\u0107 z cebulk\u0105."}, {"instruction": "Jak powiedzie\u0107 'Kocham Ci\u0119' po niemiecku?", "input": "Kocham Ci\u0119", "output": "Ich liebe Dich"}, {"instruction": "Podaj przepis na spaghetti bolognese.", "output": "Sk\u0142adn |