Skip to content

Instantly share code, notes, and snippets.

Инструкция участника CodingHub "Botters of the Galaxy CodinGame Contest"

Дата и время: 3 марта, в субботу, с 12 до 16 часов
Место: Екатеринбург, ул. Малопрудная, 5 (конференц-зал в офисе разработки Контура)

Анонс на Хабре.

Сделать перед началом?

  1. Подготовьте свой ноутбук. Убедитесь, что на нем установлено рабочее окружение: среда разработки, клиент к гиту и всё, что вам обычно нужно для программирования.
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
#region Infrastructure
using System;
using System.Collections.Generic;
using System.Threading;
namespace FluentTask
{
internal class Program
{
private static void Main()
{
@xoposhiy
xoposhiy / CSharpTheme.cs
Last active January 25, 2016 09:45
Play C# Theme
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using NAudio.Wave;
namespace StarWarsTheme
{
public class Program
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Composition.HOF
{
public class Summator
{
/*
@xoposhiy
xoposhiy / debug.js
Last active January 31, 2016 23:15
Debug functions for screeps.com console
/**
* Debug functions for screeps.com console
*
* ## How to use?
*
* In main.js:
* require('debug').populate(global);
*
* In screeps.com console:
* o(name_of_your_creep | room_name | flag_name | id_of_some_object | role_of_creep)
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace solution
{
@xoposhiy
xoposhiy / Heap.cs
Last active December 19, 2015 11:49
А вам слабо найти тест, на котором эта штука не работает? :-)
using System;
using System.Collections.Generic;
using System.Linq;
namespace TestingTask
{
public class Heap<T>
{
private readonly List<T> data = new List<T>(10);
private readonly Func<T, int> score;
<style>
.day-name
{
clear:left;
padding-top:5px;
margin-top:0px;
margin-bottom:0px;
width: 120px;
line-height:30px;
padding-bottom:5px;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace CodeRetreat2013
{
public class LifeGame
{
private HashSet<Tuple<int,int>> alive;