Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

Commit 2f93f99

Browse files
Add files via upload
1 parent 7f34a50 commit 2f93f99

File tree

3 files changed

+500
-494
lines changed

3 files changed

+500
-494
lines changed

‎compilestandard.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import java.io.*;
22
import java.security.MessageDigest;
33
import java.security.*;
4-
public class compilestandard extends usacotools {
4+
public class compilestandard extends javatools {
55
public static String sha256(String input) throws NoSuchAlgorithmException {
66
MessageDigest mDigest = MessageDigest.getInstance("SHA-256");
77
byte[] result = mDigest.digest(input.getBytes());

‎javatools.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ public abstract class javatools {
3939
public static void blockio() {
4040
IO=false;
4141
}
42+
public static Random getrandom() {
43+
return new Random();
44+
}
4245
public static boolean isrect(int[][] map,int x,int y) {
4346
int cachedsize=-1;
4447
int cachey=-1;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /