10th stage test

This commit is contained in:
kuntz 2021-01-29 21:13:53 -06:00
parent 3e05fa06c5
commit 36fbdf402f
2 changed files with 11 additions and 16 deletions

View File

@ -2,17 +2,11 @@
// Copyright © 2021 by Brett Kuntz. All rights reserved.
//----------------------------------------------------------------------------------------------------------------------
#include "compress.h"
#define CUTS_LENGTH 8
static ui CHAIN_CUTS[CUTS_LENGTH] = { 37, 23, 17, 14, 11, 9, 8, -1 };
#define CUTS_LENGTH 9
static ui CHAIN_CUTS[CUTS_LENGTH] = { 37, 23, 17, 14, 11, 9, 8, 7, -1 };
//----------------------------------------------------------------------------------------------------------------------
#include <windows.h>
si main(si argc, s8 ** argv)
{
if (SetPriorityClass(GetCurrentProcess(), IDLE_PRIORITY_CLASS))
{
printf("Low priority set\n");
}
if (sem_init(&csoutput, 1, 1) == -1)
{
printf("sem_init error\n");

View File

@ -20,14 +20,15 @@ typedef float r32 ; typedef double r64 ;
#define halt do { fflush(0); while (1) sleep(-1); } while (0)
#define cwait do { fflush(0); sleep(1); do errno = 0, wait(0); while (errno != ECHILD); sleep(1); } while(0)
//----------------------------------------------------------------------------------------------------------------------
// 2nd cut is 37 (p0.14453125)
// 3rd cut is 23 (p0.08984375)
// 4th cut is 17 (p0.06640625)
// 5th cut is 14 (p0.05468750)
// 6th cut is 11 (p0.04296875)
// 7th cut is 9 (p0.03515625)
// 8th cut is 8 (p0.03125000)
// 9th cut is ???
// 2nd cut is 37 (p0.14453125)
// 3rd cut is 23 (p0.08984375)
// 4th cut is 17 (p0.06640625)
// 5th cut is 14 (p0.05468750)
// 6th cut is 11 (p0.04296875)
// 7th cut is 9 (p0.03515625)
// 8th cut is 8 (p0.03125000)
// 9th cut is 7 (p0.02734375)
// 10th cut is ???
#include <stdio.h>
#include <stdlib.h>
#include <string.h>