This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local_settings: | |
build_shared_libs: true | |
silent: false | |
build: | |
generator: Visual Studio 12 2013 | |
toolset: v120_xp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Microsoft (R) Build Engine версии 14.0.25420.1 | |
(C) Корпорация Майкрософт (Microsoft Corporation). Все права защищены. | |
Сборка начата 20.12.2016 17:11:25. | |
Проект "D:\tesserac\win32\ALL_BUILD.vcxproj" в узле 1 (целевые объекты по умолчанию). | |
Проект "D:\tesserac\win32\ALL_BUILD.vcxproj" (1) выполняет сборку "D:\tesserac\win32\ZERO_CHECK.vcxproj" (2) в узле 1 (целевые объекты по умолчанию). | |
InitializeBuildStatus: | |
Создание "Win32\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild", так как было задано "AlwaysCreate". | |
CustomBuild: | |
Для всех выходных данных обновления не требуется. |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Microsoft (R) Build Engine version 14.0.25420.1 | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
Build started 20.12.2016 16:53:40. | |
Project "D:\tesserac\win32\ALL_BUILD.vcxproj" on node 1 (default targets). | |
Project "D:\tesserac\win32\ALL_BUILD.vcxproj" (1) is building "D:\tesserac\win32\ZERO_CHECK.vcxproj" (2) on node 1 (default targets). | |
PrepareForBuild: | |
Creating directory "Win32\Release\ZERO_CHECK\". | |
Creating directory "D:\tesserac\win32\Release\". | |
Creating directory "Win32\Release\ZERO_CHECK\ZERO_CHECK.tlog\". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Building for: Visual Studio 14 2015 | |
-- The C compiler identification is MSVC 19.0.24215.1 | |
-- The CXX compiler identification is MSVC 19.0.24215.1 | |
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe | |
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe | |
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works | |
-- Detecting CXX compiler ABI info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install vagrant - choose your version https://www.vagrantup.com/downloads.html | |
For ubuntu you must download .deb file and simply launch it | |
Install VirtualBox 5.0 (Newer versions are not supported yet) - https://www.virtualbox.org/wiki/Download_Old_Builds | |
Choose file for your system. Version VirtualBox 5.0.30 at the top will be OK | |
Then download CCExtractor and launch vagrant: | |
$ git clone git@github.com:CCExtractor/ccextractor.git # clone repository | |
$ cd ccextractor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import subprocess | |
from termcolor import colored | |
def make(): | |
print("Building... ", end='') | |
res = subprocess.Popen('cmake /home/izaron/GCI-Fork1/ccextractor/src && make', shell=True, stdout=subprocess.PIPE) | |
output = res.communicate()[0] | |
print(colored("Builded", 'green')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun main(args: Array<String>) { | |
val pairs = (1..readLine()!!.toInt()).map { | |
val (a, b) = readLine()!!.split(' ').map(String::toInt) | |
Pair<Int, Int>(Math.min(a, b), Math.max(b, a)) | |
} | |
print(when { | |
pairs.all { it.first % 3 == 0 && it.second % 3 == 0 } -> 0 // Has no answers | |
else -> { | |
val sum = pairs.sumBy { it.first } | |
when { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: "Andale Mono"; | |
src: url("fonts/andale-mono.ttf") | |
} | |
@font-face { | |
font-family: "Courier New"; | |
src: url("fonts/courier-new.ttf") | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String generateHtml(String codeTheme, String lineNumbersProperty, String font, String sourceCode) { | |
if (!lineNumbersProperty.isEmpty()) { | |
return "<link rel=\"stylesheet\" href=\"styles-hl/" + codeTheme + ".css\">\n" + | |
"<script src=\"highlight.pack.js\"></script>\n" + | |
"<script src=\"highlightjs-line-numbers.js\"></script>\n" + | |
"<script>hljs.initHighlightingOnLoad();</script>\n" + | |
"<script>hljs.initLineNumbersOnLoad();</script>\n" + | |
"<link rel=\"stylesheet\" href=\"lines.css\">\n" + | |
"<style type=\"text/css\">.hljs {\n" + | |
" font-family: \"" + font + "\";\n" + |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name AntiMaximan | |
// @namespace http://codeforces.com/blog/entry/* | |
// @include http://codeforces.com/blog/entry/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
$(".avatar:contains('MAXIMAN')").parent().parent().hide(); |