[Л/Р 2] Зиновьева Анна #17

Merged
v.moiseev merged 5 commits from Sentimental_anna/distributed-computing:zinoveva-ad-lab-2 into main 2023-11-19 21:56:32 +04:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 3d1c71a68b - Show all commits

View File

@ -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
{
// Создаем новый файл или перезаписываем существующий

View File

@ -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);