[ create a new paste ] login | about

Recent Pastes:

C++, pasted just now:
1
2
3
4
5
//#include <bits/stdc++.h>
#include <iostream>
using namespace std;

//Base class
...
view (28 lines)
C++, pasted 13 seconds ago:
1
2
3
4
5
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
 
...
view (15 lines, 1 line of output)
C++, pasted 31 seconds ago:
1
2
3
4
5
#include <bits/stdc++.h>
using namespace std;

//Base class
class Parent
...
view (27 lines, 1 line of output)
Perl, pasted 33 seconds ago:
1
2
3
4
5
my @Nodes_Names =["a","b"];
my $c1;
my $c2;
($c1, $c2)= @Nodes_Names;
print $c1;
view (5 lines, 1 line of output)
Perl, pasted 56 seconds ago:
1
2
3
4
5
my @Nodes_Names ={"a","b"};
my $c1;
my $c2;
($c1, $c2)= @Nodes_Names;
print $c1;
view (5 lines, 1 line of output)
Perl, pasted 1 minute ago:
1
print 3+5+9
view (1 line, 1 line of output)
Perl, pasted 2 minutes ago:
1
print 3+5+9
view (1 line, 1 line of output)
C, pasted 2 minutes ago:
1
2
3
4
5
#include <stdio.h>

int main() {
printf("hello");
return 0;
...
view (6 lines, 1 line of output)
C++, pasted 2 minutes ago:
1
2
3
4
5
#include <bits/stdc++.h>
using namespace std;

//Base class
class Parent
...
view (25 lines, 4 lines of output)
C, pasted 4 minutes ago:
1
2
3
4
5
void func(unsigned char str2[])
{

 unsigned char str3[5]={6,7,8,9,10};
 //memcpy(str2,str3,5);
...
view (38 lines, 5 lines of output)
C, pasted 4 minutes ago:
1
2
3
4
5
void func(unsigned char str2[])
{

 unsigned char str3[5]={6,7,8,9,10};
 memcpy(str2,str3,5);
...
view (38 lines, 5 lines of output)
PHP, pasted 5 minutes ago:
1
2
3
4
<?php 
echo base64_encode('sazN4iZKIxBmArTepWAdDI0ODFhM2NhZDQ1OGUwMGIxNGU0ODgyNWFiM2U4ZDI1ZjRjMzEwNWM5OGVlM2UxNWY5ODIwOWZiNzI0NmYwZTCneD1KeP7Wj2g5matKU0aie/ZQg8oPl/3Zf2tF0rRKGtDwU9izSOolR/WalxkU2Eo=');
echo "\n";
echo base64_decode(base64_encode('sazN4iZKIxBmArTepWAdDI0ODFhM2NhZDQ1OGUwMGIxNGU0ODgyNWFiM2U4ZDI1ZjRjMzEwNWM5OGVlM2UxNWY5ODIwOWZiNzI0NmYwZTCneD1KeP7Wj2g5matKU0aie/ZQg8oPl/3Zf2tF0rRKGtDwU9izSOolR/WalxkU2Eo='));
view (4 lines, 2 lines of output)
PHP, pasted 6 minutes ago:
1
2
3
4
<?php 
echo base64_encode('sazN4iZKIxBmArTepWAdDI0ODFhM2NhZDQ1OGUwMGIxNGU0ODgyNWFiM2U4ZDI1ZjRjMzEwNWM5OGVlM2UxNWY5ODIwOWZiNzI0NmYwZTCneD1KeP7Wj2g5matKU0aie/ZQg8oPl/3Zf2tF0rRKGtDwU9izSOolR/WalxkU2Eo=');
echo "\n";
echo base64_decode(base64_encode(101));
view (4 lines, 2 lines of output)
C++, pasted 6 minutes ago:
1
2
3
4
5
#include<stdio.h>

int main()
{
  printf("hello\n");
...
view (8 lines, 1 line of output)
Perl, pasted 6 minutes ago:
1
print 3+5+9
view (1 line, 1 line of output)
C++, pasted 6 minutes ago:
1
2
3
4
5
#include<stdio.h>

int main()
{
  printf("hello\n")
...
view (8 lines, 3 lines of output)
C++, pasted 7 minutes ago:
1
2
3
4
5
#include <iostream>
 
using namespace std;
const int MAX = 4;
 
...
view (21 lines, 4 lines of output)
C++, pasted 7 minutes ago:
1
2
3
4
5
int main()
{
  printf("hello\n")

  return 0;
...
view (6 lines, 3 lines of output)
C++, pasted 7 minutes ago:
1
2
3
4
int main()
{
  printf("hello\n")
}
view (4 lines, 3 lines of output)
C++, pasted 7 minutes ago:
1
2
3
4
5
int i = 0;
int x = 0;
int y;

while (i<3){
...
view (8 lines, 2 lines of output)