Skip to content

Instantly share code, notes, and snippets.

View B45i's full-sized avatar
:octocat:

Amal Shajan B45i

:octocat:
View GitHub Profile
#include<stdio.h>
#include <ctype.h>
char s[50];
int top = -1;
push(char elem) {
s[++top] = elem;
}
#include <stdio.h>
#include <stdlib.h>
struct node{
int i;
struct node *link;
}*first,*n,*ptr,*tptr;
void infront(void){
ptr = (struct node*)malloc(sizeof(struct node));
#include <stdio.h>
#include <stdlib.h>
struct node{
int i;
struct node *rlink,*llink;
}*first=NULL,*n,*ptr,*tptr,*nptr;
void infront(void){
if(first==NULL){
#include <stdio.h>
#include <stdlib.h>
struct node{
int i;
struct node *link;
}*top=NULL,*front=NULL,*rear=NULL,*ptr,*n,*tptr;
void stack();
void queue();
#include <stdio.h>
#include <stdlib.h>
void menu(void);
struct node{
int i;
struct node *lc;
struct node *rc;
}*root;
void buildtree(struct node *ptr){
//error on line 142
#include <stdio.h>
#include <stdlib.h>
void menu(void);
struct node{
int i;
struct node *lc;
struct node *rc;
}*root = NULL,*parent;
#include <Servo.h>
#include <Stepper.h>
#define LINE_BUFFER_LENGTH 512
// Servo position for Up and Down
const int penZUp = 80;
const int penZDown = 40;
// Servo on PWM pin 6
import processing.core.*;
import processing.data.*;
import processing.event.*;
import processing.opengl.*;
import java.awt.event.KeyEvent;
import javax.swing.JOptionPane;
import processing.serial.*;
import java.util.HashMap;
var campo = document.getElementsByClassName("input")[1];
contador = 0;
function dispatch(target, eventType, char) {
var evt = document.createEvent("TextEvent");
evt.initTextEvent (eventType, true, true, window, char, 0, "en-US");
target.focus();
target.dispatchEvent(evt);
}
function spam(){
if (contador<100){ //
/*To accept friends*/
javascript:
var inputs = document.getElementsByClassName('_42ft _4jy0 _4jy3 _4jy1 selected _51sy');
for(var i=0; i<inputs.length;i++)
{
inputs[i].click();
}
/*------------------------------------------------------------------------------------------------------*/