[ create a new paste ] login | about

Recent Pastes:

Python, pasted 1 hour ago:
1
2
3
4
import random

def roll_dice(sides):
    return random.randint(1, sides)
...
view (25 lines, 4 lines of output)
C++, pasted 1 hour ago:
1
2
3
4
5
#include <iostream>
#include <algorithm>
using namespace std;
int main(){
    unsigned long long a,b;
...
view (28 lines, 3 lines of output)
C++, pasted 1 hour ago:
1
2
3
4
5
#include <iostream>
#include <algorithm>
using namespace std;
int main(){
    unsigned long long a,b;
...
view (28 lines, 3 lines of output)
C, pasted 1 hour ago:
1
2
3
4
5
#include <stdio.h>
int main() {
	printf("Hello, world!\n");
	return 0;
}
view (5 lines, 1 line of output)
C, pasted 1 hour ago:
1
system.out.println("gfhf")
view (1 line, 1 line of output)
C++, pasted 1 hour ago:
1
2
const char str[];
print(strlen(str));
view (2 lines, 2 lines of output)