From 3d1c71a68b4478c51b8705c48fab17ddd5678be3 Mon Sep 17 00:00:00 2001 From: Anna Sentimental Date: Tue, 17 Oct 2023 23:06:18 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE.=20=D0=A0=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=20?= =?UTF-8?q?=D1=81=20=D0=B0=D0=B1=D1=81=D0=BE=D0=BB=D1=8E=D1=82=D0=BD=D1=8B?= =?UTF-8?q?=D0=BC=D0=B8=20=D0=BF=D1=83=D1=82=D1=8F=D0=BC=D0=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tasks/zinoveva-ad/lab_2/worker-1/Program.cs | 4 ++-- tasks/zinoveva-ad/lab_2/worker-2/Program.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/zinoveva-ad/lab_2/worker-1/Program.cs b/tasks/zinoveva-ad/lab_2/worker-1/Program.cs index 6b16175..93b6bfb 100644 --- a/tasks/zinoveva-ad/lab_2/worker-1/Program.cs +++ b/tasks/zinoveva-ad/lab_2/worker-1/Program.cs @@ -1,13 +1,13 @@ using System; using System.IO; -var dir = new DirectoryInfo("../var/data"); +var dir = new DirectoryInfo("/var/data"); var files = dir.GetFiles(); //var quantity_files = dir.GetFiles().Length; -string resultFilePath = "../var/result/data.txt"; +string resultFilePath = "/var/result/data.txt"; try { // Создаем новый файл или перезаписываем существующий diff --git a/tasks/zinoveva-ad/lab_2/worker-2/Program.cs b/tasks/zinoveva-ad/lab_2/worker-2/Program.cs index 56c440d..75a622e 100644 --- a/tasks/zinoveva-ad/lab_2/worker-2/Program.cs +++ b/tasks/zinoveva-ad/lab_2/worker-2/Program.cs @@ -1,8 +1,8 @@ using System; using System.IO; -string filePath = "../var/data/data.txt"; -string resultPath = "../var/result/result.txt"; +string filePath = "/var/data/data.txt"; +string resultPath = "/var/result/result.txt"; // Считываем числа из файла int[] numbers = ReadNumbersFromFile(filePath);