Skip to content

Instantly share code, notes, and snippets.

View ZeronSix's full-sized avatar

Vyacheslav Zhdanovskiy ZeronSix

View GitHub Profile
@ZeronSix
ZeronSix / dijkstra_test.py
Created November 28, 2015 14:25
Задача на алгоритм Дейкстры
from collections import defaultdict
class Graph:
def __init__(self):
self.nodes = set()
self.edges = defaultdict(list)
self.distances = {}
def add_node(self, value):
//
// Created by zeronsix on 7/12/17.
//
#ifndef GREENHOUSE_GUI_ConfigMgr_H
#define GREENHOUSE_GUI_ConfigMgr_H
#include <string>
namespace gh {
enum OperationMode
@ZeronSix
ZeronSix / Makefile
Created August 7, 2017 15:31
Makefile template
CC = gcc
CFLAGS = -Wall -std=c99
LDFLAGS = -lSDL2
SRC = $(wildcard *.c)
OBJ = $(notdir $(SRC:.c=.o))
all: raycasting_test
raycasting_test: $(OBJ)