Skip to content

Instantly share code, notes, and snippets.

View Bklara's full-sized avatar
🦅
Focusing

klarabro Bklara

🦅
Focusing
View GitHub Profile
@Bklara
Bklara / bigdata_solution_TL
Last active December 30, 2019 10:11
Решение кооторое прошло все скрытые тесты, но время больше TL, решение которое совершенно такое же без левых библиотек, но WrongAnswer
import datetime
import csv
def max_i_in_window(l, window):
tmp=1
for i in range(len(l)-1):
upper = l[i]+window
counter=1
#include <string.h>
#include <algorithm>
#include <fstream>
#include <iostream>
#include <iterator>
#include <sstream>
#include <cmath>
#include <vector>
#include <string>
#include <map>
mapping:
{
"products_v22": {
"mappings": {
"nms": {
"properties": {
"brand": {