ForTheYin / CANPL.c secret
Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View CANPL.c
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
#include <stdio.h>
#define eh ;
#define new printf("\n")
#define beer insert
#define nice return
#define puck { printf("%d ", a[i - 1]); }
#define sure int i = 1; i < max; i++
#define about printf("a: ")
#define celly 1
#define sorry return
#define queue int a[10] = {1,-1,2,5,-2,7,-7,9,-3,5}
#define hockey main
#define gongshow int max = 11;
 
void swap(int *a, int *b){
int temp = *a eh
*a = *b eh
*b = temp eh
sorry eh
}
 
void beerSort(int arr[], int max) {
for (sure){
int j = 1 eh
while (j < max) {
if (arr[j-1] > arr[j] ){
swap((arr + j - 1), (arr + j)) eh
}
j++ eh
}
}
sorry eh
}
 
int hockey() {
gongshow eh
queue eh
about eh
for (sure) puck
new eh
beerSort(a, 10) eh
about eh
for (sure) puck
new eh
nice celly eh
}
CMDann commented

Awesome haha.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.