Giter VIP home page Giter VIP logo

acs_hw_private's Introduction

Овчинников Всеволод БПИ219

Вариант 4

Условие

Разработать программу, находящую в заданной ASCII-строке последнюю при перемещении слева направо последовательность N символов, каждый элемент которой определяется по условию «больше предшествующего» (N вводится как отдельный параметр).

4 балла

Файлы приведены в папке 4

      +-----------------------+               +-----------------------+
      |                       | неименованный |                       |
      |      Входной файл     | канал         |     Процесс 1:        |
      |                       +-------------->+   Чтение и отправка   |
      |                       |               |    в P2               |
      +-----------------------+               +-----------------------+
                                                    |
                                                    |
                                                    V
      +-----------------------+               +-----------------------+
      |                       | неименованный |                       |
      |     Процесс 2:        | канал         |      Процесс 3:       |
      |  Получаем ввод от P1  +<--------------+   Обрабатываем и      |
      |                       |               |   отсылаем в P3  |
      |  и отправляем в P3    |               |                       |
      +-----------------------+               +-----------------------+
                                                    |
                                                    |
                                                    V
      +-----------------------+               +-----------------------+
      |                       | неименованный |                       |
      |     Процесс 3:        | канал         |       Выходной файл   |
      |  Получаем из P2       +<--------------+    Запись в файл      |
      |                       |               |                       |
      |  записываем в выход   |               |                       |
      +-----------------------+               +-----------------------+

5 баллов

Общая схема:

     +----------------+   +----------------+   +----------------+
     |   Входной Файл |   |  Процесс 1:    |   | Выходной файл  |
     |                |   |  Чтение Данных |   |                |
     +--------+-------+   +--------+-------+   +--------+-------+
              |                   |                   |
              |                   |                   |
              |   +---------------+                   |
              |   |                                   |
     +--------v---v-------+   +----------------+   +--------+-----------+
     | Именованый Канал 1 |   |  Процесс 2:    |   |  Именованый Канал 2|
     |                    |   |  Парс данных   |   |                    |
     +--------+-----------+   +--------+-------+   +--------------------+
              |                        |
              |                        |
              |             +----------v---------+
              |             |                    |
     +--------v-------------v-----+   +----------v---------+
     |  Канал 3                   |   |                    |
     |                            |   |   Процесс 3:       |
     +----------------+-----------+   |   Запись Данных    |
                      |               |                    |
                      |               +--------------------+
                      |
             +--------v--------------+
             |  Именованый Канал 4   |
             |                       |
             +-----------------------+

acs_hw_private's People

Contributors

h4t3h4k3rs avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.