add correct variable type code patcher

This commit is contained in:
dymik739 2023-03-18 12:58:26 +02:00
parent f2703fb43f
commit 37f8e9dbf6
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
#!/bin/sh
sed -i 's/int/double/g;s/prdouble/print/g;s/Integer.parseInt/Double.parseDouble/g;s/for (double i/for (int i/g;s/for (double j/for (int j/g;s/matrix.py/double-matrix.py/g;s/double p/int p/g;s/double bytesRead/int bytesRead/g;s/double ref_length/int ref_length/g;s/double new/int new/g;s/%4d/%4.3f/g' Matrix.java Main.java
javac Main.java Matrix.java
rm random_matrix.txt