Skip to content

Instantly share code, notes, and snippets.

View znxkznxk1030's full-sized avatar
🌮
Taco

Arthur 金 znxkznxk1030

🌮
Taco
View GitHub Profile
#include <stdio.h>
#include <stdlib.h>
char** arr;
void mk_tri(int dis, int x, int y);
int main(int argc, char* argv[])
{
int n, size;
#include <stdio.h>
#include <stdlib.h>
void recursive(int , char **, int , int );
int main()
{
int n, i, j;
char **c;
#include <stdio.h>
#include <iostream>
#include <stack>
#include <cstring>
#include <queue>
#define ll long long int
#define MAX(a,b) (a)>(b)?(a):(b)
#define MIN(a,b) (a)>(b)?(b):(a)
#define pii pair<int , int>
#include <stdio.h>
#include <iostream>
#include <stack>
#include <cstring>
#define ll long long int
#define MAX(a,b) (a)>(b)?(a):(b)
#define MIN(a,b) (a)>(b)?(b):(a)
#define pii pair<int , int>
#define time first
#include <stdio.h>
#include <iostream>
#include <stack>
#include <cstring>
#define ll long long int
#define MAX(a,b) (a)>(b)?(a):(b)
#define MIN(a,b) (a)>(b)?(b):(a)
using namespace std;
#include <stdio.h>
#include <iostream>
#include <stack>
#include <cstring>
#include <queue>
#define ll long long int
#define MAX(a,b) (a)>(b)?(a):(b)
#define MIN(a,b) (a)>(b)?(b):(a)
#define pii pair<int , int>
#include <iostream>
#include <cstdio>
#include <stack>
#include <queue>
#include <algorithm>
#include <cstring>
#include <cmath>
#define MAX(a,b) (a)>(b)?(a):(b)
#define MIN(a,b) (a)>(b)?(b):(a)
#include <iostream>
#include <cstdio>
#include <stack>
#include <queue>
#include <algorithm>
#include <cstring>
#include <cmath>
#define MAX(a,b) (a)>(b)?(a):(b)
#define MIN(a,b) (a)>(b)?(b):(a)
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#pragma warning(disable : 4996)
#define LOW_B0 0.0605
#define LOW_B1 0.1210
#define LOW_B2 0.0605
#define LOW_A0 1.0000
@znxkznxk1030
znxkznxk1030 / sound_spec.m
Created May 11, 2017 16:29
sound specgram
clc; % Clear the command window.
clear; % Clear workspace variable
close all; % Clear figure windows
% original file
file_name = 'input_sound.snd';
file_id = fopen(file_name ,'r');
file_info = dir(file_name);
file_size = file_info.bytes;