main #2

Merged
tanya_nik16 merged 121 commits from v.moiseev/distributed-computing:main into Nikiforova-TS-Lab-3 2023-12-02 11:07:42 +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);