Skip to content

Instantly share code, notes, and snippets.

import random
def heapsort(data: list) -> list:
data = heapify_array(data)
for i in range(len(data) - 1, -1, -1):
data[i], data[0] = data[0], data[i]
data[:i] = heapify(data[:i], 0)
#include <mpi.h>
#include <stdio.h>
#define ROOT 0
#define COMM_TAG 1
int main(int argc, char *argv[])
{
int communicator_size, process_rank;
import csv
import os
def main():
'''Main Methode of the analysis-tool'''
data_path = "data/sensors"
for sensor in os.listdir(data_path):
#!/usr/bin/python3
# -*- coding: utf-8 -*-
"""
A tool to create Markdowntables from Turingcode
"""
import sys
import re
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using newMV;