Recent programs

First python

an anonymous user · January 18, 2020 · Python
print('Hello world!')

wre

an anonymous user · January 18, 2020 · Fortran
program main
    integer :: num1
    
    num1 = inputValue()
    if(num1 == 10) then
        print *, "10입니다."
    end if
    if(num1 == 20) then
        print *, "20입니다."
    end if
    CONTAINS

timer

an anonymous user · January 18, 2020 · C++
#include <iostream>
#include <thread>
#include <chrono>
#include <iomanip>
#include <future>
#include <limits>

using namespace std;

namespace ns {
class TIMER;

dd

an anonymous user · January 18, 2020 · Clojure
(println (average [5 6 7 8 9 15]))

Test1

an anonymous user · January 18, 2020 · C#
using System;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args) {
            Console.WriteLine("Hello world!");
        }
    }
}

test

an anonymous user · January 18, 2020 · Assembly
section	.text
	global _start       ;must be declared for using gcc
	

_start:                     ;tell linker entry point
	push rbp
    mov rbp, rsp
    sub rsp, 20h
    mov rax, 373073EAFD76FDEAh
    mov qword [rbp+var_18],rax
    mov byte [rbp+var_10],3Eh

Title

an anonymous user · January 17, 2020 · C#
using System;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args) {
            
            Console.WriteLine("hello Vio");
        }
    }
}

Title

an anonymous user · January 17, 2020 · C#
using System;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args) {
            
            Console.WriteLine("hello Vio");
        }
    }
}

Title

an anonymous user · January 17, 2020 · C#
using System;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args) {
            Console.WriteLine("Hello world!");
            Console.WriteLine("hello Vio");
        }
    }
}

Title

an anonymous user · January 17, 2020 · C#
using System;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args) {
            Console.WriteLine("Hello world!");
            Console.WriteLine("hello");
        }
    }
}

Title

an anonymous user · January 17, 2020 · C#
using System;

namespace MyCompiler {
    class Program {
        public static void Main(string[] args) {
            Console.WriteLine("Hello world!");
            Console.WriteLine("hello");
        }
    }
}

Somma di un numero

an anonymous user · January 17, 2020 · C
#include <stdio.h>
int main() 
 {
     int a;
     int b;
     int p;
     int i;
     int trovato=0;
        printf("assegna un valore ad a\n");
    scanf("%d",&a);
        printf("assegna un valore a b\n");

@decorador

an anonymous user · January 17, 2020 · Python
def decoratorMultiplicarPor10(F):
    def Envoltura(*args):
        print(F(*args) * 10)
    return Envoltura
    
@decoratorMultiplicarPor10
def Agregar(a, b):
    c = a + b
    return c

Agregar(3, 5)

r try 1

an anonymous user · January 17, 2020 · R
print('hello world')

Python beginner

ssaulrj · January 17, 2020 · Python
##Comment, archivo.py

sum = 1 + 2
print(sum) 

print("Hello world")
print('this is my python program')
print("line1 \nline2")

gold

an anonymous user · January 17, 2020 · Lua
local CLOCK
local gptimer=os.clock()-.40
function gptoplat()
CLOCK=os.clock()
local id=3031
if (CLOCK-gptimer<1.2) then return 0; end
gptimer=CLOCK
local gp=FindItem(id)
while (gp~=nil) do
if (gp.quantity==100) then
UseContainerItem(gp.num,gp.slot,id)

jj

an anonymous user · January 16, 2020 · PHP
<?php

echo "Hello world!\n";

jj

an anonymous user · January 16, 2020 · PHP
<?php

echo "Hello world!\n";

kernel

an anonymous user · January 16, 2020 · Assembly
BITS 32

GLOBAL _Kernel_Start:function

;========================================================;
; SMORANOV BOOTABLE OPERATING SYSTEM (SMOV-BOSS) PROJECT ;
; BUILD 053005302802-R1                                  ;
;                                                        ;
; (C) SMORANOV SPECIFICATIONS 1979-1989                  ;
;========================================================;

kernel

an anonymous user · January 16, 2020 · Assembly
BITS 32

GLOBAL _start:function

;========================================================;
; SMORANOV BOOTABLE OPERATING SYSTEM (SMOV-BOSS) PROJECT ;
; BUILD 053005302802-R1                                  ;
;                                                        ;
; (C) SMORANOV SPECIFICATIONS 1979-1989                  ;
;========================================================;