¡Feliz cumpleaños zant!

El típico lugar donde abrir hilos que no tienen cabida en otro lugar

Moderadores: SGM, Moderador, GM

Responder
Avatar de Usuario
Drzego
Superviviente
Superviviente
Mensajes: 8116
Registrado: 12 Feb 2011, 17:22
Contactar:

#1

Quería poner algun tipo de código que dijera algo inteligente y eso, pero como no tengo ni idea, te pongo un gato en una tarta y te felicito. ¡Felicidades zant!

Imagen

[html]<iframe frameborder="0" src="https://itch.io/embed/273009?linkback=true" width="552" height="167"></iframe>[/html]

Avatar de Usuario
Escoly
Superviviente
Superviviente
Mensajes: 372
Registrado: 02 Ago 2011, 14:38

#2

Felicidades de nuevo Zant!

toniujota
Superviviente
Superviviente
Mensajes: 113
Registrado: 10 Mar 2013, 00:08

#3

Felizantidadess!

Imagen

Avatar de Usuario
robertoccu
VIP
VIP
Mensajes: 11362
Registrado: 30 May 2011, 01:05
Ubicación: Aragón
Nick Minecraft: robertoccu

#4

Felicidades zant!

Avatar de Usuario
maxmadness59
Superviviente
Superviviente
Mensajes: 79
Registrado: 11 Sep 2012, 13:48

#5

Tu querido cerdo del Rust te desearía un feliz cumpleaños...

Imagen

Pero no lo hace porque lo masacraste a sangre fría cuando él estaba dispuesto a darte todo su amor y fidelidad.

Él confiaba en ti.

Feliz cumpleaños, monstruo.

Avatar de Usuario
Zant
Superviviente
Superviviente
Mensajes: 847
Registrado: 21 Jul 2011, 16:59
Contactar:

#6

Jajaja, gracias chicos :D

javiertarifa

#7

feliz día de San Lorenzo a todos

Avatar de Usuario
Eterdragon
Superviviente
Superviviente
Mensajes: 1496
Registrado: 30 Ago 2011, 21:31
Nick Minecraft: AetherLiger

#8

SA

javiertarifa escribió:

feliz día de San Lorenzo a todos

Zant Lolencio =D


Felicidades Zant!

"Zero" is the past, "One" is the future, "the present" is nowhere to be found.<br /><br />"Los dragones se acercan" -Aether-

Datzu

#9

Código: Seleccionar todo


import java.util.Calendar;
import java.util.Random;

public class SimulateWorld {

final static long MAX_PERSONS = 1000000000;

public static void main(String[] args) {

	for (int i = 0; i < 7; i++) {
		for (int j = 0; j < MAX_PERSONS; j++) {
			new Person("Person" + i + j).start();
		}
	}

}

}

class Person extends Thread {

int age, lastYear;
String name;

public Person(String name) {
	this.age = 0;
	this.name = name;
	System.out.println("Welcome " + name + " to this world.");
}

@Override
public void run() {
	super.run();
	while (true) {
		if (Calendar.getInstance().get(Calendar.YEAR) == this.lastYear + 1) {
			this.lastYear = Calendar.getInstance().get(Calendar.YEAR);
			this.age++;
			System.out.println(this.name
					+ " just grow 1 year more, actual years: " + this.age);
		}
		if (new Random().nextDouble() > 0.90)
			die();
	}
}

private void die() {
	this.stop();
}

}

Última edición por Datzu el 09 Mar 2014, 21:39, editado 1 vez en total.
Avatar de Usuario
JanoZero
Mensajes: 41
Registrado: 17 Jul 2011, 02:45

#10

ya te dí tu regalo, feliz cumpleaños enfermo de la programación.

Imagen

Avatar de Usuario
Escoly
Superviviente
Superviviente
Mensajes: 372
Registrado: 02 Ago 2011, 14:38

#11

maxmadness59 escribió:

Tu querido cerdo del Rust te desearía un feliz cumpleaños...

Imagen

Pero no lo hace porque lo masacraste a sangre fría cuando él estaba dispuesto a darte todo su amor y fidelidad.

Él confiaba en ti.

Feliz cumpleaños, monstruo.

Imagen

Avatar de Usuario
PeterLancton
Superviviente
Superviviente
Mensajes: 2347
Registrado: 05 Sep 2012, 17:55

#12

Felicidades!

Avatar de Usuario
Zant
Superviviente
Superviviente
Mensajes: 847
Registrado: 21 Jul 2011, 16:59
Contactar:

#13

Datzu escribió:

Código: Seleccionar todo

/*
 * Cosas
 */

Muy bueno Datzu, jajaja.


JanoZero escribió:

ya te dí tu regalo, feliz cumpleaños enfermo de la programación.

Gracias Jano, me ha encantado :D


maxmadness59 escribió:

Tu querido cerdo del Rust te desearía un feliz cumpleaños...

Ese cerdo lo iba pidiendo con esos andares tan... tan... de cerdo D:

Responder