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
package facebook; | |
import java.util.Scanner; | |
import java.util.Random; | |
package facebook; | |
class Facebook { | |
String name; |
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<time.h> | |
int quicksort(int a[], int first, int last) | |
{ | |
int i, j, pivot, temp; | |
if(first < last) | |
{ |
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<time.h> | |
int main() | |
{ | |
int i, j, a[300000], num, temp; | |
double start, end; | |
srand(time(0)); | |
printf("Enter input size: "); |
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
#define WINVER 0x0500 | |
#include <stdio.h> | |
#include <string.h> | |
#include <conio.h> | |
#include <stdlib.h> | |
#include <windows.h> | |
int m, n, i, j, r = 2, r2 = 0, c = 2, len, option, size = 12; | |
char ch1, ch2; |
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> | |
void Dec2Hex(int no){ | |
int hex=0; | |
if(!no) | |
return; | |
else { | |
hex=no%16; | |
Dec2Hex(no/16); | |
} |