Skip to content

Instantly share code, notes, and snippets.

@lyrachord
lyrachord / ThreadMergeSort.hua
Last active March 10, 2018 13:25
ThreadMergeSort port to Mehua lang
//original c version at https://github.com/keybraker/Dynamic-Merge-Sort-with-posix-threads/blob/master/merge_sort.c
//ThreadMergeSort.hua
//A syntax sample
import{
stdio, stdlib, time, assert, pthread
sys.time
}
struct Argment(int[][] A; int n, m, key)