1
NSFW Off Topic / Re: Seccion de adoracion a las thick thighs
« on: April 06, 2021, 10:30:01 am »
thicc thighs <3
Siete años en la web :D
EDENOR LA CONCHA DE TU MADRE
Cortes 2021: 7
Lean las reglas para mantener el orden.
Grupo de Discord
traps aren't gay
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
import java.util.Scanner;
public class Ej1 {
public static void main(String[] args){
System.out.print("Ejercicio 1 - Suma de dos numeros\n\nIngrese un numero: ");
Scanner scan = new Scanner(System.in);
int numA = scan.nextInt();
System.out.print("Ingrese un segundo numero: ");
int numB = scan.nextInt();
System.out.println("\nLa suma de los numeros es " + (numA + numB) + '.');
scan.close();
}
}
import java.util.Scanner;
public class Ej2 {
public static void main(String[] args){
System.out.print("Ejercicio 2 - Nombre y Apellido\n\nIngrese su nombre: ");
Scanner scan = new Scanner(System.in);
String nombre = scan.nextLine();
System.out.print("Ingrese su apellido: ");
String apellido = scan.nextLine();
System.out.println("\nSu nombre completo es " + nombre + ' ' + apellido + '.');
scan.close();
}
}
import java.util.Scanner;
import java.util.Arrays;
public class Ej3 {
public static void main(String[] args){
int max = 3;
int[] numeros = new int[max];
System.out.print("Ejercicio 3 - Mayor a Menor\n\n");
Scanner scan = new Scanner(System.in);
for(int i = 0; i < max; i = i + 1) {
System.out.print("Ingrese un numero: " + (i == 0 ? "" : "(Restan " + (max-i) + ") "));
numeros[i] = scan.nextInt();
}
Arrays.sort(numeros);
System.out.print("\nArray en orden:\n");
for(int i = max-1; i >= 0; i = i - 1)
System.out.println("Array[" + i + "] = " + numeros[i] + ";");
System.out.println("");
scan.close();
}
}
import java.util.Scanner;
public class Ej4 {
public static void main(String[] args){
int numA, numB;
String showVal;
System.out.print("Ejercicio 4 - Mayor o Igual\n");
Scanner scan = new Scanner(System.in);
System.out.print("Ingrese un numero: ");
numA = scan.nextInt();
System.out.print("Ingrese otro numero: ");
numB = scan.nextInt();
if(numA == numB)
showVal = "Los numeros son iguales.";
else if(numA > numB)
showVal = "El primer numero ingresado es mayor.";
else
showVal = "El segundo valor ingresado es mayor.";
System.out.println("\n" + showVal);
scan.close();
}
}
import java.util.Scanner;
import java.lang.Math;
public class Ej5 {
public static void main(String[] args){
System.out.print("Ejercicio 5 - Operaciones Aritmeticas\n\nIngrese un numero: ");
Scanner scan = new Scanner(System.in);
int numA = scan.nextInt();
System.out.print("Ingrese un segundo numero: ");
int numB = scan.nextInt();
System.out.print("\nLa suma de los numeros es " + (numA + numB) + '.');
System.out.print("\nLa resta de los numeros es " + (numA - numB) + '.');
System.out.print("\nLa multiplicacion de los numeros es " + (numA * numB) + '.');
System.out.print("\nLa division de los numeros es " + Math.floor(((float)numA / (float)numB)*100)/100 + ".\n\n");
scan.close();
}
}
import java.util.Scanner;
public class Ej6 {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
System.out.println("Ejercicio 6 - Bienvenida");
System.out.print("\nIngrese un mensaje: ");
String mensaje = scan.nextLine();
System.out.println("\nBienvenidos " + mensaje);
scan.close();
}
}
public class Ej7 {
public static void main(String[] args){
System.out.println("Ejercicio 7 - Divisibles por 2 y 3\n");
int max = 30;
int divisor = 6; // Si es divisible por 2 y 3, es divisible por 6.
// Nos ahorramos un if
for(int i = 1; i <= max; i = i + 1) {
if(i % 6 == 0) {
String output = i + (i == max ? ";\n\n" : ", ");
System.out.print(output);
}
}
}
}
import java.util.Scanner;
public class Ej8 {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
System.out.println("Ejercicio 8 - Informacion de un Estudiante\n");
System.out.print("Ingrese el nombre del estudiante: ");
String nombre = scan.nextLine();
System.out.print("Ingrese el apellido del estudiante: ");
String apellido = scan.nextLine();
System.out.print("Ingrese la edad del estudiante: ");
int edad = scan.nextInt();
scan.nextLine();
System.out.print("Ingrese la carrera del estudiante: ");
String carrera = scan.nextLine();
System.out.print("\nI N F O R M A C I O N\n\nNombre Completo: " + nombre + " " +
apellido + "\nEdad: " + edad + " anos\nCarrera: " + carrera + "\n\n");
scan.close();
}
}
import java.util.Scanner;
public class Ej9 {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
System.out.println("Ejercicio 9 - Informacion de una Persona\n");
System.out.print("Ingrese el nombre completo de la persona: ");
String nombre = scan.nextLine();
char sexo;
do{
System.out.print("Ingrese el sexo de la persona: ");
sexo = scan.findInLine(".").charAt(0);
scan.nextLine();
if(sexo != 'm' && sexo != 'M' && sexo != 'f' && sexo != 'F')
System.out.println("El sexo ingresado es invalido!\n");
} while(sexo != 'm' && sexo != 'M' && sexo != 'f' && sexo != 'F');
int edad;
do{
System.out.print("Ingrese la edad de la persona: ");
edad = scan.nextInt();
scan.nextLine();
if(edad <= 0 || edad > 120)
System.out.println("La edad ingresada es invalida!");
} while(edad <= 0 || edad > 120);
int dni;
do{
System.out.print("Ingrese el documento de la persona: ");
dni = scan.nextInt();
scan.nextLine();
if(dni <= 999999 || dni > 99999999)
System.out.println("El documento ingresado es invalido!\n");
} while(dni <= 999999 || dni > 99999999);
System.out.print("Ingrese la profesion de la persona: ");
String carrera = scan.nextLine();
System.out.print("\nI N F O R M A C I O N\n\nNombre Completo: " + nombre
+ "\nSexo: " + sexo +
"\nEdad: " + edad + " anos\nProfesion: "
+ carrera + "\nDNI: "
+ dni + "\n\n");
scan.close();
}
}
import java.util.Scanner;
public class Ej10 {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
System.out.println("Ejercicio 10 - Primera Letra de un String\n");
System.out.print("Ingrese un mensaje: ");
String strA = scan.nextLine();
System.out.print("Ingrese otro mensaje: ");
String strB = scan.nextLine();
System.out.println("\nLas primeras letras son " + strA.charAt(0) + " y " +
strB.charAt(0) + ".\n\n");
scan.close();
}
}
log(x,b) - logaritmo de x en base b
ln(x) - logaritmo natural de x
exp - exponente de e (usar ^ para potencias normales)
e - valor de e
floor(x) - redondeo para abajo (9.8 -> 9)
trunc(x) - ver floor()
ceil(x) - redondeo para arriba (8.1 -> 9)
round(x) - redondeo
dcm(x1,x2,x...) - denominador comun mayor
mcm(x1,x2,x...) - multiplo comun menor
sqrt(x) - raiz cuadrada de x (despues veo como mierda hacer raiz en base x)
TODAS LAS FUNCIONES TRIGONOMETRICAS
TRABAJAN EN RADIANES!!!!!!!!
cos(x) - coseno de x
tan(x) - tangente de x
sin(x) - seno de x
cos-1(x) - arcocoseno de x
tan-1(x) - artangente de x
sin-1(x) = arcoseno de x
rad(x) - x pasado a radianes
deg(x) - x pasado a grados
pi - valor de pi
getRoots(a,b,c) - Raices de una cuadratica
// ==UserScript==
// @name Black Cocks Google Suggestion
// @version 1
// @grant none
// @include http://google.com/*
// ==/UserScript==
//alert("Starting!");
var myElem = document.getElementById('taw');
if (myElem != null) {
childDiv = myElem.getElementsByTagName('div')[1];
var text = childDiv.innerHTML;
if(text == "") myElem.innerHTML = "<div style=\"color: #ea4335; font-size: 18px;\"><p class=\"gqLncc card-section KDCVqf\" aria-level=\"3\" role=\"heading\"><span class=\"gL9Hy d2IKib\">Did you mean: </span><a class=\"gL9Hy\" href=\"https://www.pornhub.com/video/search?search=black+cocks\"><b><i>black cocks</i></b></a></p></div><div></div><div id=\"tvcap\"></div>";
}
// ==UserScript==
// @name USAL Ya curse esto yo che
// @version 1
// @grant none
// @include https://virtual.usal.edu.ar/*
// @include http://virtual.usal.edu.ar/*
// ==/UserScript==
console.log('START');
function doStuff() {
var redo = false;
var neverdone = true;
var yaCurse = ['ALGEBRA II', 'Arquitectura de Computadoras - Turno mañana', 'Curso de Nivelación - Matemática- Pilar- 2020', 'Curso de Nivelación: Lenguaje científico y universitario- ING- Sede Pilar 2020', 'PARADIGMAS DE PROGRAMACIÓN', 'PROGRAMACION I- Turno mañana', 'Taller de Programación Simultáneo - Nivel Inicial', 'Tutorías Programación'];
Array.from(document.getElementsByClassName("default-group")).forEach(
function(element, index, array) {
neverdone = false;
var tagElement = element.getElementsByClassName("js-course-title-element ellipsis")[0];
var text = tagElement.innerHTML;
console.log('[' + text + ']');
if(text == '') redo = true;
else if(yaCurse.includes(text)) {
var elemChild = element.getElementsByClassName("course-element-card")[0];
elemChild.style.backgroundColor = "#CCC";
}
}
);
if(redo || neverdone) setTimeout(doStuff, 1000);
}
setTimeout(doStuff, 2000);
console.log('END');
B!HELP
GAY - MARICON - TROLO - SE LA COME - PUTO
PAJA - HENTAI - ECCHI
TU MAMA - TU VIEJA - TU MAMI
JIJI
OAK
B!ALGEBRA2 o B!ALGEBRAII
B!ALGEBRA
B!PROGRAMACION
B!INTRODUCCION A LA PROGRAMACION
B!QUIMICA
B!PARADIGMAS DE LA PROGRAMACION
B!SISTEMAS NUMERICOS
B!ANALISIS MATEMATICOS
B!ARCHIVOS CARGADOS
B!CARGAR ARCHIVOS