lr 3 #2

Merged
angelina merged 113 commits from v.moiseev/distributed-computing:main into main 2023-12-07 18:07:15 +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);