[ create a new paste ] login | about

Recent Pastes:

Python, pasted 3 seconds ago:
1
2
list=['a','b','c','d']
print list[10:]
view (2 lines, 1 line of output)
C++, pasted 10 seconds ago:
1
2
3
4
5
#include <iostream>

using namespace std;

int main(int argc, const char * argv[]) {
...
view (16 lines, 6 lines of output)
Python, pasted 18 seconds ago:
1
2
list=['a','b','c','d']
print[10:]
view (2 lines, 4 lines of output)
C++, pasted 51 seconds ago:
1
2
3
4
5
#include <iostream>

using namespace std;

int main(int argc, const char * argv[]) {
...
view (16 lines, 6 lines of output)
Python, pasted 1 minute ago:
1
print ({'a':'b','a':'c'})
view (1 line, 1 line of output)
C++, pasted 2 minutes ago:
1
2
3
4
5
#include <stdio.h>
#include <math.h>
int main()
{
	double x,a,b,c,d,y,w,z;
...
view (29 lines, 1 line of output)
C++, pasted 2 minutes ago:
1
2
3
4
5
void NhapMangSach(Sach *a, int &n)
{
	
	for (int i = 0; i < n; i++)
	{
...
view (19 lines, 2 lines of output)
C++, pasted 2 minutes ago:
1
2
3
4
#include<bits/stdc++.h>

using namespace std;
int arr[50000][128];
...
view (38 lines, 3 lines of output)
C++, pasted 3 minutes ago:
1
2
3
4
5
int n;
	cout << "Nhap so luong quyen sach: ";
	cin >> n;
	Sach *a=new Sach[n];
	
...
view (8 lines, 2 lines of output)
C, pasted 3 minutes ago:
1
2
3
4
5
[filename, pathname] = uigetfile ({'*.jpg';'*.png'},'Select Images');
img_default = imread(filename);
A= rgb2gray(img_default);
P=A;
row = size(img_default,1);
...
view (34 lines, 35 lines of output)
Perl, pasted 3 minutes ago:
1
print 3+5+9
view (1 line, 1 line of output)
C++, pasted 3 minutes ago:
1
2
3
4
5
void nhapsach(Sach &s)
{
	getchar();
	cout << "Nhap ma sach: ";
	getline(cin, s.m);
...
view (28 lines, 2 lines of output)
Perl, pasted 3 minutes ago:
1
print 3+5+9
view (1 line, 1 line of output)
C, pasted 4 minutes ago:
1
2
3
4
5
#include<string.h>
#include<stdio.h>
int main()
{
    char buffer[10];
...
view (19 lines, 3 lines of output)
Python, pasted 4 minutes ago:
1
print len([1,2[3,4],[5,6]])
view (1 line, 4 lines of output)
PHP, pasted 5 minutes ago:
1
2
3
4
5
										if(isset($_POST['ean']) && isset($_POST['qtd']) && isset($_POST['vencimento'])){
											if(is_numeric($_POST['ean']) && is_numeric($_POST['qtd']){
												$postean = $_POST['ean'];
												$posqtd = $_POST['qtd'];
												$postvencimento = $_POST['vencimento'];
...
view (70 lines)
PHP, pasted 5 minutes ago:
1
2
3
4
5
										if(isset($_POST['ean']) && isset($_POST['qtd']) && isset($_POST['vencimento'])){
											if(is_numeric($_POST['ean']) && is_numeric($_POST['qtd']){
												$postean = $_POST['ean'];
												$posqtd = $_POST['qtd'];
												$postvencimento = $_POST['vencimento'];
...
view (72 lines)
C++, pasted 7 minutes ago:
1
2
3
4
5
#include<fstream>
#include<iostream>
using namespace std;
int main()
{
...
view (22 lines, 3 lines of output)
Python, pasted 7 minutes ago:
1
2
3
4
5
#!/usr/bin/python
d={'a':'act','b':'battle','y':'cart','s':'diction'}
count=0
for a in d.keys():
        count+=1
...
view (7 lines, 1 line of output)
Python, pasted 7 minutes ago:
1
2
3
4
5
#!/usr/bin/python
d=input('Enter a dictionary:')
count=0
for a in d.keys():
        count+=1
...
view (7 lines, 4 lines of output)