mirror of
https://github.com/ASDjonok/OOP_IO-2x_2023.git
synced 2026-04-03 22:01:49 +03:00
Compare commits
6 Commits
83b275cefd
...
ІО-21/31-Ц
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0e7941c21e | ||
|
|
41ea5f841a | ||
|
|
e38652d12f | ||
|
|
6d7a81dee2 | ||
|
|
ab62df0a7f | ||
|
|
4417dfe95a |
5
.gitignore
vendored
5
.gitignore
vendored
@@ -1,3 +1,2 @@
|
|||||||
Java/Lab 1/Lab_1.class
|
# Project exclude paths
|
||||||
.gitignore
|
/out/
|
||||||
Java/Lab 2/Lab_2.class
|
|
||||||
8
.idea/.gitignore
generated
vendored
Normal file
8
.idea/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
||||||
6
.idea/misc.xml
generated
Normal file
6
.idea/misc.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_19" default="true" project-jdk-name="openjdk-19" project-jdk-type="JavaSDK">
|
||||||
|
<output url="file://$PROJECT_DIR$/out" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
8
.idea/modules.xml
generated
Normal file
8
.idea/modules.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/OOP_IO-2x_2023.iml" filepath="$PROJECT_DIR$/OOP_IO-2x_2023.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
124
.idea/uiDesigner.xml
generated
Normal file
124
.idea/uiDesigner.xml
generated
Normal file
@@ -0,0 +1,124 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Palette2">
|
||||||
|
<group name="Swing">
|
||||||
|
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.svg" removable="false" auto-create-binding="false" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="Button" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="RadioButton" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="CheckBox" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="Label" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||||
|
<preferred-size width="150" height="-1" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||||
|
<preferred-size width="150" height="-1" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||||
|
<preferred-size width="150" height="-1" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||||
|
<preferred-size width="200" height="200" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||||
|
<preferred-size width="200" height="200" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
|
||||||
|
<preferred-size width="-1" height="20" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
|
||||||
|
</item>
|
||||||
|
</group>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
import java.util.Scanner;
|
|
||||||
|
|
||||||
public class Lab_1 {
|
|
||||||
|
|
||||||
public static int protectedInput(String variable_to_read, Scanner input) {
|
|
||||||
int read_variable;
|
|
||||||
do {
|
|
||||||
try {
|
|
||||||
System.out.printf("Enter %s: ", variable_to_read);
|
|
||||||
read_variable = input.nextInt();
|
|
||||||
break;
|
|
||||||
} catch (Exception e) {
|
|
||||||
System.out.printf("%s must be an integer.\n", variable_to_read.toUpperCase());
|
|
||||||
input.nextLine();
|
|
||||||
}
|
|
||||||
} while (true);
|
|
||||||
return read_variable;
|
|
||||||
}
|
|
||||||
|
|
||||||
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);
|
|
||||||
|
|
||||||
input.close();
|
|
||||||
|
|
||||||
float s = ((float) (b + m) / 2) * (m - b + 1) * (n - a + 1);
|
|
||||||
|
|
||||||
System.out.println("S = " + s);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,106 +0,0 @@
|
|||||||
import java.util.Scanner;
|
|
||||||
|
|
||||||
public class Lab_2 {
|
|
||||||
|
|
||||||
public static short protectedInput(String inputPrompt, String errorMessage, Scanner input) {
|
|
||||||
short read_variable;
|
|
||||||
|
|
||||||
do {
|
|
||||||
try {
|
|
||||||
System.out.println();
|
|
||||||
System.out.print(inputPrompt);
|
|
||||||
|
|
||||||
read_variable = input.nextShort();
|
|
||||||
break;
|
|
||||||
} catch (Exception e) {
|
|
||||||
System.out.println(errorMessage);
|
|
||||||
input.nextLine();
|
|
||||||
}
|
|
||||||
} while (true);
|
|
||||||
|
|
||||||
return read_variable;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static String format(int number) {
|
|
||||||
int width = String.valueOf(number).length() + 1;
|
|
||||||
String format = "|%" + width + "d ";
|
|
||||||
|
|
||||||
return format;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static double average(short[] row) {
|
|
||||||
short sum = 0;
|
|
||||||
|
|
||||||
for (short element : row) {
|
|
||||||
sum += element;
|
|
||||||
}
|
|
||||||
|
|
||||||
double result = sum / row.length;
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void main(String[] args) {
|
|
||||||
short a, rows = 0, columns = 0;
|
|
||||||
String format;
|
|
||||||
|
|
||||||
Scanner input = new Scanner(System.in);
|
|
||||||
|
|
||||||
a = protectedInput("Input a constant to multipy a matrix by: ",
|
|
||||||
"A constant must be a short-data type integer, try again.", input);
|
|
||||||
|
|
||||||
System.out.println();
|
|
||||||
System.out.println("Input size of the matrix.");
|
|
||||||
|
|
||||||
do {
|
|
||||||
rows = protectedInput("Rows: ",
|
|
||||||
"A number of rows must be a short-data type integer, try again.", input);
|
|
||||||
} while (rows <= 0);
|
|
||||||
|
|
||||||
do {
|
|
||||||
columns = protectedInput("Columns: ",
|
|
||||||
"A number of columns must be a short-data type integer, try again.", input);
|
|
||||||
} while (columns <= 0);
|
|
||||||
|
|
||||||
input.close();
|
|
||||||
|
|
||||||
short[][] matrix_B = new short[rows][columns];
|
|
||||||
|
|
||||||
System.out.println();
|
|
||||||
System.out.println("Matrix B:");
|
|
||||||
|
|
||||||
format = format(rows * columns);
|
|
||||||
|
|
||||||
for (short i = 0; i < rows; i++) {
|
|
||||||
for (short j = 0; j < columns; j++) {
|
|
||||||
matrix_B[i][j] = (short) ((i + 1) * (j + 1));
|
|
||||||
|
|
||||||
System.out.printf(format, matrix_B[i][j]);
|
|
||||||
}
|
|
||||||
|
|
||||||
System.out.println("|");
|
|
||||||
}
|
|
||||||
|
|
||||||
System.out.println();
|
|
||||||
System.out.println("Matrix a×B:");
|
|
||||||
|
|
||||||
format = format(rows * columns * a);
|
|
||||||
|
|
||||||
for (short i = 0; i < matrix_B.length; i++) {
|
|
||||||
for (short j = 0; j < matrix_B[i].length; j++) {
|
|
||||||
matrix_B[i][j] *= (short) (a);
|
|
||||||
|
|
||||||
System.out.printf(format, matrix_B[i][j]);
|
|
||||||
}
|
|
||||||
|
|
||||||
System.out.println("|");
|
|
||||||
}
|
|
||||||
|
|
||||||
System.out.println();
|
|
||||||
System.out.println("Averages of each row:");
|
|
||||||
|
|
||||||
for (short[] row : matrix_B) {
|
|
||||||
System.out.println(average(row));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
11
OOP_IO-2x_2023.iml
Normal file
11
OOP_IO-2x_2023.iml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="JAVA_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
16
Rust/lab_1/Cargo.lock
generated
16
Rust/lab_1/Cargo.lock
generated
@@ -1,16 +0,0 @@
|
|||||||
# This file is automatically @generated by Cargo.
|
|
||||||
# It is not intended for manual editing.
|
|
||||||
version = 3
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "lab_1"
|
|
||||||
version = "0.1.0"
|
|
||||||
dependencies = [
|
|
||||||
"text_io",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "text_io"
|
|
||||||
version = "0.1.12"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "d5f0c8eb2ad70c12a6a69508f499b3051c924f4b1cfeae85bfad96e6bc5bba46"
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
[package]
|
|
||||||
name = "lab_1"
|
|
||||||
version = "0.1.0"
|
|
||||||
edition = "2021"
|
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
text_io = "0.1.12"
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
fn main() {
|
|
||||||
// use text_io::scan;
|
|
||||||
use text_io::read;
|
|
||||||
|
|
||||||
print!("Input: ");
|
|
||||||
|
|
||||||
// read until a whitespace and try to convert what was read into an i32
|
|
||||||
let a: i32 = read!();
|
|
||||||
|
|
||||||
/* let i: u32;
|
|
||||||
print!("Input: ");
|
|
||||||
scan!("{}", i); */
|
|
||||||
|
|
||||||
println!("You have input: {}", a);
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"rustc_fingerprint":1109913473729500203,"outputs":{"15729799797837862367":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/rhinemann/.rustup/toolchains/stable-x86_64-unknown-linux-gnu\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"unknown\"\nunix\n","stderr":""},"4614504638168534921":{"success":true,"status":"","code":0,"stdout":"rustc 1.69.0 (84c898d65 2023-04-16)\nbinary: rustc\ncommit-hash: 84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc\ncommit-date: 2023-04-16\nhost: x86_64-unknown-linux-gnu\nrelease: 1.69.0\nLLVM version: 15.0.7\n","stderr":""}},"successes":{}}
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
Signature: 8a477f597d28d172789f06886806bc55
|
|
||||||
# This file is a cache directory tag created by cargo.
|
|
||||||
# For information about cache directory tags see https://bford.info/cachedir/
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"rustc":3257411903276762393,"features":"[]","target":17142004090379113646,"profile":9251013656241001069,"path":1684066648322511884,"deps":[[11548802147292551847,"text_io",false,16250147254765824332]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/lab_1-21a9cdc6153637a5/dep-bin-lab_1"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0}
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
This file has an mtime of when this was started.
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
{"message":"unexpected end of macro invocation","code":null,"level":"error","spans":[{"file_name":"src/main.rs","byte_start":179,"byte_end":186,"line_start":8,"line_end":8,"column_start":18,"column_end":25,"is_primary":true,"text":[{"text":" let a: i32 = scan!();","highlight_start":18,"highlight_end":25}],"label":"missing tokens in macro arguments","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"while trying to match meta-variable `$text:expr`","code":null,"level":"note","spans":[{"file_name":"/home/rhinemann/.cargo/registry/src/github.com-1ecc6299db9ec823/text_io-0.1.12/src/lib.rs","byte_start":6858,"byte_end":6868,"line_start":225,"line_end":225,"column_start":6,"column_end":16,"is_primary":true,"text":[{"text":" ($text:expr, $($arg:expr),*) => {","highlight_start":6,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror\u001b[0m\u001b[0m\u001b[1m: unexpected end of macro invocation\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/main.rs:8:18\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m8\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m let a: i32 = scan!();\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9m^^^^^^^\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;9mmissing tokens in macro arguments\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;10mnote\u001b[0m\u001b[0m: while trying to match meta-variable `$text:expr`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m/home/rhinemann/.cargo/registry/src/github.com-1ecc6299db9ec823/text_io-0.1.12/src/lib.rs:225:6\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m225\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m ($text:expr, $($arg:expr),*) => {\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;10m^^^^^^^^^^\u001b[0m\n\n"}
|
|
||||||
{"message":"aborting due to previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror\u001b[0m\u001b[0m\u001b[1m: aborting due to previous error\u001b[0m\n\n"}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
d97c05c8356d63be
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"rustc":3257411903276762393,"features":"[]","target":17142004090379113646,"profile":7309141686862299243,"path":1684066648322511884,"deps":[[11548802147292551847,"text_io",false,18437410369655646666]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/lab_1-68601d683e1e8856/dep-bin-lab_1"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0}
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
This file has an mtime of when this was started.
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
This file has an mtime of when this was started.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
1e31ad2d831b958b
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"rustc":3257411903276762393,"features":"[]","target":17142004090379113646,"profile":1021633075455700787,"path":1684066648322511884,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/lab_1-6de41bec606e8613/dep-test-bin-lab_1"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0}
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
This file has an mtime of when this was started.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
03a82760ea6c966b
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"rustc":3257411903276762393,"features":"[]","target":17142004090379113646,"profile":1021633075455700787,"path":1684066648322511884,"deps":[[11548802147292551847,"text_io",false,18437410369655646666]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/lab_1-c6f8d37b6207cc41/dep-test-bin-lab_1"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
8860c7066aee2306
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"rustc":3257411903276762393,"features":"[]","target":17142004090379113646,"profile":7309141686862299243,"path":1684066648322511884,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/lab_1-ec33eeac96f0d2fc/dep-bin-lab_1"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0}
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
This file has an mtime of when this was started.
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
This file has an mtime of when this was started.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
4c291bccd41e84e1
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"rustc":3257411903276762393,"features":"[]","target":9368524284222934410,"profile":12637318739757120569,"path":17386512851369609810,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/text_io-2d13b918f35cc59d/dep-lib-text_io"}}],"rustflags":[],"metadata":10716249605224554386,"config":2202906307356721367,"compile_kind":0}
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
This file has an mtime of when this was started.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
caa96dad0bd7deff
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"rustc":3257411903276762393,"features":"[]","target":9368524284222934410,"profile":3735503092003429423,"path":17386512851369609810,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/text_io-8f0db3acf1dd6458/dep-lib-text_io"}}],"rustflags":[],"metadata":10716249605224554386,"config":2202906307356721367,"compile_kind":0}
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
/home/rhinemann/Disc_D/OOP/OOP/Rust/lab_1/target/debug/deps/lab_1-21a9cdc6153637a5: src/main.rs
|
|
||||||
|
|
||||||
/home/rhinemann/Disc_D/OOP/OOP/Rust/lab_1/target/debug/deps/lab_1-21a9cdc6153637a5.d: src/main.rs
|
|
||||||
|
|
||||||
src/main.rs:
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
/home/rhinemann/Disc_D/OOP/OOP/Rust/lab_1/target/debug/deps/lab_1-68601d683e1e8856.rmeta: src/main.rs
|
|
||||||
|
|
||||||
/home/rhinemann/Disc_D/OOP/OOP/Rust/lab_1/target/debug/deps/lab_1-68601d683e1e8856.d: src/main.rs
|
|
||||||
|
|
||||||
src/main.rs:
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
/home/rhinemann/Disc_D/OOP/OOP/Rust/lab_1/target/debug/deps/lab_1-6de41bec606e8613.rmeta: src/main.rs
|
|
||||||
|
|
||||||
/home/rhinemann/Disc_D/OOP/OOP/Rust/lab_1/target/debug/deps/lab_1-6de41bec606e8613.d: src/main.rs
|
|
||||||
|
|
||||||
src/main.rs:
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
/home/rhinemann/Disc_D/OOP/OOP/Rust/lab_1/target/debug/deps/lab_1-c6f8d37b6207cc41.rmeta: src/main.rs
|
|
||||||
|
|
||||||
/home/rhinemann/Disc_D/OOP/OOP/Rust/lab_1/target/debug/deps/lab_1-c6f8d37b6207cc41.d: src/main.rs
|
|
||||||
|
|
||||||
src/main.rs:
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
/home/rhinemann/Disc_D/OOP/OOP/Rust/lab_1/target/debug/deps/lab_1-ec33eeac96f0d2fc.rmeta: src/main.rs
|
|
||||||
|
|
||||||
/home/rhinemann/Disc_D/OOP/OOP/Rust/lab_1/target/debug/deps/lab_1-ec33eeac96f0d2fc.d: src/main.rs
|
|
||||||
|
|
||||||
src/main.rs:
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,7 +0,0 @@
|
|||||||
/home/rhinemann/Disc_D/OOP/OOP/Rust/lab_1/target/debug/deps/text_io-2d13b918f35cc59d.rmeta: /home/rhinemann/.cargo/registry/src/github.com-1ecc6299db9ec823/text_io-0.1.12/src/lib.rs
|
|
||||||
|
|
||||||
/home/rhinemann/Disc_D/OOP/OOP/Rust/lab_1/target/debug/deps/libtext_io-2d13b918f35cc59d.rlib: /home/rhinemann/.cargo/registry/src/github.com-1ecc6299db9ec823/text_io-0.1.12/src/lib.rs
|
|
||||||
|
|
||||||
/home/rhinemann/Disc_D/OOP/OOP/Rust/lab_1/target/debug/deps/text_io-2d13b918f35cc59d.d: /home/rhinemann/.cargo/registry/src/github.com-1ecc6299db9ec823/text_io-0.1.12/src/lib.rs
|
|
||||||
|
|
||||||
/home/rhinemann/.cargo/registry/src/github.com-1ecc6299db9ec823/text_io-0.1.12/src/lib.rs:
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
/home/rhinemann/Disc_D/OOP/OOP/Rust/lab_1/target/debug/deps/text_io-8f0db3acf1dd6458.rmeta: /home/rhinemann/.cargo/registry/src/github.com-1ecc6299db9ec823/text_io-0.1.12/src/lib.rs
|
|
||||||
|
|
||||||
/home/rhinemann/Disc_D/OOP/OOP/Rust/lab_1/target/debug/deps/text_io-8f0db3acf1dd6458.d: /home/rhinemann/.cargo/registry/src/github.com-1ecc6299db9ec823/text_io-0.1.12/src/lib.rs
|
|
||||||
|
|
||||||
/home/rhinemann/.cargo/registry/src/github.com-1ecc6299db9ec823/text_io-0.1.12/src/lib.rs:
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user