[ create a new paste ] login | about

Recent Pastes:

C, pasted 36 seconds ago:
1
2
3
4
5
#include <stdio.h>
int main(){
    int a =100;
    int *p1 = &a;
    int **p2 = &p1;
...
view (12 lines, 4 lines of output)
C, pasted 46 seconds ago:
1
2
3
4
5
#include <htc.h>
__CONFIG (HS&WDTDIS&PWRTEN&BORDIS&MCLREN&LVPDIS);
#define _XTAL_FREQ20000000
#define SW RA4
#define LED RD4
...
view (22 lines, 13 lines of output)
C, pasted 55 seconds ago:
1
2
3
4
5
#include<stdio.h>
void xuat(int a[][50], int dong, int cot)
{
    int i;
    int j;
...
view (46 lines, 5 lines of output)
Perl, pasted 1 minute ago:
1
2
3
4
5
#! /usr/bin/perl

@rocks = qw /limesone quartz graphite/;

print "how many kinds of rocks do you have ?\n";
...
view (7 lines, 2 lines of output)
C, pasted 1 minute ago:
1
2
3
4
5
#include<stdio.h>
void xuat(int a[][50], int dong, int cot)
{
    int i;
    int j;
...
view (46 lines, 5 lines of output)
Perl, pasted 1 minute ago:
1
2
3
4
5
#! /usr/bin/perl

@rocks = qw /limesone quartz graphite/;

print "how many kinds of rocks do you have ?\n";
...
view (7 lines, 2 lines of output)
Perl, pasted 1 minute ago:
1
print 3+5+9
view (1 line, 1 line of output)
C, pasted 1 minute ago:
1
2
3
4
5
#include<stdio.h>
void xuat(int a[][50], int dong, int cot)
{
    int i;
    int j;
...
view (46 lines, 5 lines of output)
Perl, pasted 1 minute ago:
1
2
3
4
5
#! /usr/bin/perl

@rocks = qw /limesone quartz graphite/;

print "how many kinds of rocks do you have ?\n";
...
view (7 lines, 2 lines of output)
C, pasted 1 minute ago:
1
2
3
4
5
#include<stdio.h>
#include<conio.h>
#include<math.h>
int main()
{
...
view (29 lines, 1 line of output)
Perl, pasted 2 minutes ago:
1
2
3
4
5
#! /usr/bin/perl

@rocks = qw /limesone quartz graphite/;

print "how many kinds of rocks do you have ?\n";
...
view (7 lines, 4 lines of output)
C, pasted 2 minutes ago:
1
2
3
4
5
#include<stdio.h>
void xuat(int a[][50], int dong, int cot)
{
    int i;
    int j;
...
view (46 lines, 5 lines of output)
Perl, pasted 2 minutes ago:
1
2
3
4
5
#! /usr/bin/perl

@rocks = qw /limesone quartz graphite/;

print "how many kinds of rocks do you have ?\n";
...
view (7 lines, 2 lines of output)
C, pasted 4 minutes ago:
1
2
3
4
5
/* Simpsons 1/3 rule */
#include<math.h>
#include<stdio.h>
#include<conio.h>
float f(float x)
...
view (36 lines, 1 line of output)
C, pasted 4 minutes ago:
1
2
3
4
5
/* Simpsons 1/3 rule */
#include<math.h>
#include<stdio.h>
#include<conio.h>
float f(float x)
...
view (36 lines, 1 line of output)
Perl, pasted 6 minutes ago:
1
print 3+5+9
view (1 line, 1 line of output)
C, pasted 9 minutes ago:
1
2
3
4
5
/* Newton -Raphson method*/
#include<math.h>
#include<stdio.h>
float f(float x)
{
...
view (41 lines, 4 lines of output)
C++, pasted 9 minutes ago:
1
2
3
4
5
/* Newton -Raphson method*/
#include<math.h>
#include<stdio.h>
float f(float x)
{
...
view (41 lines, 2 lines of output)
C, pasted 11 minutes ago:
1
2
3
4
5
#include <htc.h>
__CONFIG (HS &WDTDIS&PWRTEN&BORDIS&MCLREN&LVPDIS);
#define _XTAL_FREQ20000000
#define SW RA4
#define LED RD4
...
view (22 lines, 13 lines of output)
C, pasted 11 minutes ago:
1
2
3
4
5
#include <htc.h>
__CONFIG (HS &WDTDIS&PWRTEN&BORDIS&MCLREN&LVPDIS)
#define _XTAL_FREQ20000000
#define SW RA4
#define LED RD4
...
view (22 lines, 2 lines of output)