All I wanted was a website letting me host files anonymously for free, for ever
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
section .text | |
global _start | |
; int readint() | |
; byte _read_buf() | |
; void printint(int num) --> edi | |
; void newline() | |
; void printspace() | |
; void _write_buf(char *buf, int count) --> rdi, esi * max of BUF_SIZE characters (default 65536) at once |
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.io.*; | |
import java.util.*; | |
public class Main { | |
static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); | |
static StringTokenizer in; | |
public static void main(String[] args) throws IOException { | |
} | |
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.io.IOException; | |
import java.lang.reflect.InvocationTargetException; | |
import java.net.URL; | |
import java.net.URLClassLoader; | |
public class Main { | |
static void enableColor() { | |
// https://stackoverflow.com/questions/52767585/how-can-you-use-vt100-escape-codes-in-java-on-windows | |
try { | |
// Load classes |
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
// IMPORTANT: Call Write(); at the end of your main function to flush the output buffer | |
#include <bits/stdc++.h> | |
#include <unistd.h> | |
#pragma GCC optimize ("Ofast") | |
int oPtr = 0; | |
#ifdef WIN64 | |
char sc() {return getchar();} | |
void pc(char c) {putchar(c);} |
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.io.InputStreamReader; | |
import java.io.IOException; | |
public class IO { | |
static InputStreamReader br = new InputStreamReader(System.in); | |
static char[] ibuf = new char[65536]; | |
static int iptr = 0; | |
static int imax = 0; | |
static int readInt() throws IOException { | |
int x = 0; |