This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include <string.h> | |
#include <strings.h> | |
#define MAXnMAX 10000 | |
int main(int argc, char const *argv[]) | |
{ | |
int maxlosers[MAXnMAX],pint,temp,max,nextmax; | |
int n,k=1,i; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include <assert.h> | |
#include <ctype.h> | |
int main(int argc, char const *argv[]) | |
{ | |
int testc,ans,t,years,extrac; | |
scanf("%d", &testc); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include <assert.h> | |
#include <ctype.h> | |
int lane[100010]; | |
int min(int pint, int pont); | |
int main(int argc, char const *argv[]) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include <assert.h> | |
#include <ctype.h> | |
int main(int argc, char const *argv[]) | |
{ | |
int n,i,len,pint,ref[27][2]={0},elementcount=0; | |
char a[111]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include <assert.h> | |
#include <ctype.h> | |
int main(int argc, char const *argv[]) | |
{ | |
int testc; | |
long long int n; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include <assert.h> | |
#include <ctype.h> | |
#define MAX_LENGTH 100000 | |
int fact(int num); | |
long long int mergedivide(long long int a[], long long int low, long long int high); | |
long long int mergeconquer(long long int a[], long long int low, long long int mid, long long int high); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Test Program*/ | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include <assert.h> | |
#include <ctype.h> | |
#include "quicksort.h" | |
#define MAXSIZ 100000 | |
int main(int argc, char const *argv[]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include <assert.h> | |
#include <ctype.h> | |
int main(int argc, char const *argv[]) | |
{ | |
int n,c,m,choc=0,upchoc=0; | |
int testc,*pint=&upchoc,wrappers; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <math.h> | |
#include <assert.h> | |
#include <ctype.h> | |
int main(int argc, char const *argv[]) | |
{ | |
int n,c,m,choc=0,upchoc=0; | |
int testc,*pint=&upchoc,wrappers; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Author : eightnoteight | |
website : eightnoteight.wordpress.com | |
*/ | |
int isalnum(char a){ | |
return (a>='A'&&a<='Z')||(a>='a'&&a<='z')||(a>='0'&&a<='9'); | |
} | |
int isalpha(char a){ | |
return (a>='A'&&a<='Z')||(a>='a'&&a<='z'); | |
} |