Работает для тестов, где нужно выбрать один вариант ответа из 4 предложенных
Как открыть консоль разработчика – https://learn.javascript.ru/devtools
Работает для тестов, где нужно выбрать один вариант ответа из 4 предложенных
Как открыть консоль разработчика – https://learn.javascript.ru/devtools
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Scanner; | |
public class Topo { | |
private static final int WHITE = 0; | |
private static final int GRAY = 1; | |
private static final int BLACK = 2; | |
private static void dfs(int v, List<List<Integer>> edges, int[] state, List<Integer> sorting) { |
import java.util.*; | |
public class TopologicalSort { | |
public static final int WHITE = 0; | |
public static final int GRAY = 1; | |
public static final int BLACK = 2; | |
private static void dfs(int v, List<List<Integer>> edges, int[] colors, List<Integer> queue) { | |
colors[v] = GRAY; | |
List<Integer> list = edges.get(v); |
apt update && \ | |
apt install -y zsh tmux && \ | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" "" --unattended && \ | |
chsh -s $(which zsh) |
package ru.gordinmitya; | |
import java.io.File; | |
import java.io.FileNotFoundException; | |
import java.util.*; | |
public class Main { | |
public static void main(String[] args) throws FileNotFoundException { | |
Scanner scanner = new Scanner(new File("asd.txt")); | |
scanner.close(); |
Benchmarking model described in Real-time Portrait Segmentation on Smartphones by Prisma on MNN framework.
Mi 9T Pto; Snapdragon 855
Forward type: **Vulkan** thread=4** precision=2
--------> Benchmarking... loop = 8
Resize error for batchnorm/mul_1, code=2
[ - ] mdepth.mnn max = 276.845ms min = 274.095ms avg = 275.366ms
Vulkan don't support for 151, type=ReLU, Special case
/* ---------------------------------------------------------- | |
СМЕНИТЬ НА СВОЙ! | |
---------------------------------------------------------- */ | |
package ru.gordinmitya; | |
import java.util.Arrays; | |
class Animal { | |
String name; | |
void say() { } |
import types | |
import socket | |
import selectors | |
from threading import Thread | |
clients = [] | |
# helper function to remove client from the list by name |
import socket | |
from threading import Thread | |
clients = [] | |
# Thread to listen one particular client | |
class ClientListener(Thread): | |
def __init__(self, name: str, sock: socket.socket): |
http { | |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
location ~ \.(ico|png|jpg) { | |
root /www/media; | |
} | |
location / { |