Skip to content

Instantly share code, notes, and snippets.

View pomo-mondreganto's full-sized avatar
🎯
Focusing

Roman Nikitin pomo-mondreganto

🎯
Focusing
  • Moscow
View GitHub Profile
{"lastUpload":"2020-05-01T12:24:54.246Z","extensionVersion":"v3.4.3"}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pomo-mondreganto
pomo-mondreganto / main.cpp
Last active November 28, 2018 10:53
Linalg IHW 2 task 1
#include <iostream>
#include "permutation.h"
#include "polynomial.h"
using namespace std;
int main() {
Permutation P1(vector<size_t>{1, 4, 8, 5, 2, 3, 6, 7});
Permutation P2(vector<size_t>{7, 3, 4, 8, 2, 5, 1, 6});
@pomo-mondreganto
pomo-mondreganto / main.cpp
Created October 29, 2018 10:40
Linalg IHW 2 task 2
#include <iostream>
#include "permutation.h"
using namespace std;
int main() {
vector<size_t> vect;
for (size_t i = 18; i < 324; ++i)
vect.push_back(i);
@pomo-mondreganto
pomo-mondreganto / main.cpp
Created October 29, 2018 11:07
Linalg IHW 2 task 3
#include <iostream>
#include <algorithm>
#include "matrix.h"
#include "polynomial.h"
#include "permutation.h"
using namespace std;
using P_T = Polynomial<int>;
#define x P_T(make_pair(1, 1))
@pomo-mondreganto
pomo-mondreganto / main.cpp
Created October 29, 2018 11:12
Linalg IHW 2 task 4
#include <iostream>
#include <algorithm>
#include "matrix.h"
#include "polynomial.h"
#include "permutation.h"
using namespace std;
using P_T = Polynomial<int>;
#define x P_T(make_pair(1, 1))
@pomo-mondreganto
pomo-mondreganto / web250.ipynb
Created November 17, 2018 18:33
MIEM CTF web250
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pomo-mondreganto
pomo-mondreganto / BHW2.ipynb
Last active March 3, 2019 10:58
БДЗ 2, задача 14
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pomo-mondreganto
pomo-mondreganto / BHW 4.ipynb
Last active March 18, 2019 10:23
Task 23 (5) from BHW 4
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pomo-mondreganto
pomo-mondreganto / generator.py
Last active February 19, 2020 21:02
Matan BHW digit generator
#!/usr/bin/env python3
import lzma
import base64
import urllib.request
pi = lzma.decompress(base64.b64decode(b'/Td6WFoAAATm1rRGAgAhARYAAAB0L+Wj4E4gInhdABmMQtymKEbcBkAeJndQO9IkCbaE1Yh3QvtC83uVzG0DEO2f9PVOiNCQuES+3nu/11KgoSzoxHkIBOa4KGJDzUY1AfPVevwyx6ZjytfsuUxKINzM2oqx/TnkvS5waFcrOU3TVDcR+qeykOF5LN9yb7KLuWVMKW/9xEhtR77BHpUPfCTKz9O+dS9XkdWSmIKXvWYL7EoxWaM4J3mXGi4civuOV/d9G+/lMpPc20soGcm7A3/SgUT+cdtSkQNchxRR1Y8lNPa2gz18+REV5dk0v84YNIj6VZre7GKgJFXxFckc3+p4u5td23l+I5hKT0jxRLSECki3wF6l58aElpZmt3YELyq1dJplpxAFPcElXN7eyNQVbBYH9NzGYfcQDEET40DpxFWGZB2mEHzJsdffQ0YEjiWzym9Vg8ApaDtZVE7phSbBFCwCFH0BrTzGaA9hP8qXCq7H/WabjzeEjgSE7M0iqIQXsrcM58l6S4ByEEAolUqHQYbt0G9iV5P8G9zXDZnQyarSCYXdT3XprS8laqFyz9IMAGnb4A5vqemkBqEBr3mdCMYV1XGgyDYZfVSA+lZSLkbaEltQ9FmB3V4HcuVX210HM2wRCdGE73KUs7PEZpoBb5IG7DXGmDiKAJZk3cc+B6RhNlA2q0V3ZHw43XtTotGTxnAAaWuXV8ct/PBYuS/J1NdKPlnTxiZn97mryzH/66sq42otHsPazcQLSoLY6Ycwx86N5Vfy72T/w4niFUJ/0pxd4nUF7hki2a6aY2ftSV9Ai8BsjkNMbovvrbHSwACRl+2MMIZnoHn1pZamWdlKD4WxTMRD23MgFl2oLpVKpvfZxCl8TBaqLs6F4C0naX1Lj/k8HEIo14S