Finished lab_1 in Rust.

This commit is contained in:
2023-05-07 09:26:25 +03:00
parent fe97b8dcde
commit 45ef70b268
2 changed files with 25 additions and 28 deletions

View File

@@ -18,17 +18,12 @@ public class Lab_1 {
}
public static void main(String[] args) {
int n, m, a, b;
Scanner input = new Scanner(System.in);
n = protectedInput("n", input);
m = protectedInput("m", input);
a = protectedInput("a", input);
b = protectedInput("b", input);
final int n = protectedInput("n", input);
final int m = protectedInput("m", input);
final int a = protectedInput("a", input);
final int b = protectedInput("b", input);
input.close();