[ create a new paste ] login | about

Recent Pastes:

C++, pasted 1 second ago:
1
2
3
4
5
int safty()//安全性算法
{
int i,d,k=0,m,h,s,apply,Finish[100]={0};
int j;
int flag=0;
...
view (80 lines)
PHP, pasted 1 second ago:
1
2
3
4
5
<?php

$data = "123_Strin_g";

if (($pos = strpos($data, "_")) !== FALSE) { 
...
view (9 lines, 1 line of output)
Python, pasted 1 second ago:
1
2
3
def f(n):
 return n*n
a=f(2)
view (3 lines)
Amarnadh489 - C, pasted 6 seconds ago:
1
2
3
4
5
#include<stdio.h>
main()
{
struct xx
{
...
view (12 lines, 3 lines of output)
C++, pasted 9 seconds ago:
1
2
3
4
#include <string>
#include <stdlib.h>
#include <iostream>
using namespace std;
...
view (48 lines, 1 line of output)
C, pasted 18 seconds ago:
1
2
3
4
5
#define square(x) x*x
main()
{
int i;
i = 64/square(4);
...
view (7 lines, 2 lines of output)
Python, pasted 23 seconds ago:
1
2
3
def f(n)
 return n*n
a=f(2)
view (3 lines, 4 lines of output)
C++, pasted 32 seconds ago:
1
2
3
4
5
#include <iostream.h>
class goods{
         private:
               static int totalWeight;
               int weight;
...
view (42 lines, 2 lines of output)
C, pasted 33 seconds ago:
1
2
3
4
5
define square(x) x*x
main()
{
int i;
i = 64/square(4);
...
view (7 lines, 1 line of output)
C, pasted 38 seconds ago:
1
2
3
4
5
main()
{
int i,a[10];
for(i=0;i<=9;i++)
a[i]=i;
...
view (7 lines, 2 lines of output)
C++, pasted 46 seconds ago:
1
2
3
4
5
#include <iostream.h>
class goods{
         private:
               static int totalWeight;
               int weight;
...
view (42 lines, 3 lines of output)
C++, pasted 48 seconds ago:
1
2
3
4
5
#include <iostream.h>
class goods{
         private:
               static int totalWeight;
               int weight;
...
view (42 lines, 3 lines of output)
C++, pasted 1 minute ago:
1
2
3
4
#include <string>
#include <stdlib.h>
#include <iostream>
using namespace std;
...
view (48 lines, 8 lines of output)
C++, pasted 1 minute ago:
1
2
3
4
#include <string>
#include <stdlib.h>
#include <iostream>
using namespace std;
...
view (48 lines, 8 lines of output)
C, pasted 1 minute ago:
1
2
3
4
5
#include<stdio.h>
int main()
{
int i;
for(i=1;i<1000;i++)
...
view (11 lines, 1 line of output)
C, pasted 1 minute ago:
1
2
3
4
5
#include<stdio.h>
int main()
{
    int m,n,sum=0,i;
    scanf("%d%d",&m,&n);
...
view (12 lines, 1 line of output)
Python, pasted 1 minute ago:
1
print('%2f'%123.444)
view (1 line, 1 line of output)
Amarnadh489 - C, pasted 1 minute ago:
1
2
3
4
5
#include<stdio.h>
main()
{
struct xx
{
...
view (12 lines, 5 lines of output)
C++, pasted 1 minute ago:
1
2
3
4
5
int safty()//安全性算法
{
int i,d,k=0,m,h,s,apply,Finish[100]={0};
int j;
int flag=0;
...
view (80 lines, 3 lines of output)
C, pasted 1 minute ago:
1
2
3
4
5
#include<stdio.h>
main(){
    static char *s[5] = {"china", "canada", "usa", "korea", "japan"};
    char **p, *q;
    p = s;
...
view (15 lines, 2 lines of output)