Created
May 4, 2017 00:26
-
-
Save Notoh/4173940f26ed6b3ce8a0769600acd8d0 to your computer and use it in GitHub Desktop.
im bored af
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Random; | |
/** | |
* meme machine meme machine im a motherf***ing meme machine | |
*/ | |
public class notavirus { | |
public static void main(String[] args) { | |
notavirus notavirus = new notavirus(); | |
} | |
private notavirus() { | |
new memes().start(); | |
} | |
private class memes extends Thread { | |
@Override | |
public void run() { | |
for(;;) { | |
Random random = new Random(0x7fffffffffffffffL); | |
long l = random.nextLong(); | |
double l1 = Math.abs(Math.sin(Math.cos(Math.floor(l)))) + -Math.abs(Math.cos(Math.sin(factorial(l)))) + | |
Math.abs(Math.tan(Math.sin(Math.cos(l)))); | |
System.out.println(l + " " + l1); | |
} | |
} | |
private long factorial(long n) { | |
if(n<=1) { | |
return n; | |
} | |
return n * factorial(n - 1); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when im bored so i decide to screw with java