users
Данные пользователей. Структура:
Поле | Тип | Описание |
---|---|---|
_id | bsonId | Идентификатор MongoDb |
login | string | Логин пользователя |
#include <gcc-plugin.h> | |
#include <plugin-version.h> | |
#include <coretypes.h> | |
#include <tree.h> | |
#include <gimple.h> | |
#include <gimple-iterator.h> | |
#include <tree-pass.h> | |
#include <context.h> | |
#include <basic-block.h> | |
#include <ssa.h> |
package Lab4 | |
class MegaQueue[T] private (val L1 : List[T], val L2: List[T]) { | |
def this(L : List[T]) { | |
this(Nil, L) | |
} | |
def enqueue(elem: T): MegaQueue[T] = { | |
new MegaQueue[T](L1, elem :: L2) | |
} |
#include <iostream> | |
#include <cstdint> | |
#include <cmath> | |
#include <vector> | |
const std::vector<float> xs = {129.0f, 240.0f, 341.0f, 434.0f, 527.0f, 618.0f}; | |
const std::vector<float> ys = {5939.0f, 7634.0f, 10986.0f, 13862.0f, 16094.0f, 17917.0f}; | |
const uint32_t n = 6; | |
static std::vector<float> |
#include <iostream> | |
#include <cstdint> | |
#include <cmath> | |
#include <vector> | |
/* | |
* y''(x) + p(x) * y'(x) + q(x) * y(x) = f(x) | |
* y''(x) + y'(x) - y(x) = f(x) | |
* y(x) = e^x, p(x) = 1, q(x) = -1 | |
* Начальные условия з. Коши: |
== Курсач ==
Зарегистриваться могут только студенты. Остальных пользователей можно только создать (во избежание контрафактов)
#include <stdint.h> | |
#include <stdbool.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#define GLFW_INCLUDE_VULKAN | |
#include <GLFW/glfw3.h> | |
#include <gsl/gsl_matrix.h> | |
// #include <gsl/gsl_matrix.h> |
THIS = $(HOME)/Documents/code/study/vulkan | |
VULKAN_SDK_PATH = $(THIS)/1.1.85.0/x86_64 | |
CFLAGS = -Wall -Wextra -pedantic -I$(VULKAN_SDK_PATH)/include | |
LDFLAGS = -L$(VULKAN_SDK_PATH)/lib `pkg-config --static --libs glfw3` -lvulkan | |
all: | |
gcc $(CFLAGS) main.c $(LDFLAGS) | |
debug: | |
gcc $(CFLAGS) main.c -DDEBUG $(LDFLAGS) |
#include "utils.c" | |
#include <errno.h> | |
#include <sys/sysinfo.h> | |
const uint32_t DIAGONAL_CUTOFF = 10; // NOTE: diagonals with this or more 2-word matches are checked | |
const uint32_t DIAGONAL_OFFSET = 32; | |
const uint32_t MAX_GOOD_PLOTS = 100; | |
const uint32_t EXPECTED_GOOD_DIAGONAL_PIECES = 20; | |
const int32_t RESCORE_CUTOFF = 50; |
#include <stdio.h> | |
#include <stdint.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <pthread.h> | |
#include <assert.h> | |
#include "vector.c" | |
#define MIN(a,b) (((a)<(b))?(a):(b)) |