Skip to content

Instantly share code, notes, and snippets.

option(TEST_SOLUTION "Build solution" OFF)
option(ENABLE_PRIVATE_TESTS "Enable private tests" OFF)
option(GRADER "Building on CI" OFF)
function(patch_include_directories TARGET)
if (TEST_SOLUTION)
get_filename_component(TASK_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
target_include_directories(${TARGET}
PRIVATE ../private/${TASK_NAME})
endif()
package main
import (
"flag"
"log/slog"
"net"
"os"
"time"
)
groups:
- name: ami
deadlinesUrl: https://gitlab.com/hse-cpp/hse-base-cpp/-/raw/main/deadlines/ami.yml
subgroups:
- name: 244-1
secret: ami-cpp-244-1
- name: 244-2
secret: ami-cpp-244-2
- name: 245-1
secret: ami-cpp-245-1
groups:
- name: ami
deadlinesUrl: https://gitlab.com/hse-cpp/hse-base-cpp/-/raw/main/deadlines/ami.yml
subgroups:
- name: 244-1
secret: ami-cpp-244-1
- name: 244-2
secret: ami-cpp-244-2
- name: 245-1
secret: ami-cpp-245-1
#include <cstdint>
#include <cstdio>
bool check() {
uint32_t a = 1;
uint32_t b = 1;
uint32_t c = 1;
while (true) {
while (true) {
while (true) {
{
"jsonrpc": "2.0",
"method": "textDocument/publishDiagnostics",
"params": {
"diagnostics": [
{
"code": "ovl_ambiguous_call",
"message": "Call to 'foo' is ambiguous",
"range": {
"end": {
#include <linux/perf_event.h>
#include <linux/hw_breakpoint.h>
#include <sys/syscall.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include <stdexcept>
#include <optional>
namespace perf {
#include <linux/perf_event.h>
#include <linux/hw_breakpoint.h>
#include <sys/syscall.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include <stdexcept>
#include <optional>
namespace perf {
#pragma once
#include "huffman.h"
#include "quantization.h"
#include "dct.h"
#include "mcu.h"
#include "octet.h"
#include "block.h"
#include <cstddef>