C++ program that processes a list of resource transactions / claims stored in a text file and answers queries selected by a user. A transaction / claim states the amount of memory the process wants or can release Transactions are listed in chronological order (the oldest entry is at the top). Each transaction in a file is a line that contains a single-word identifier and an integer number separated by a whitespace character. An example input file with 11 transactions in attachments.
- Count of transactions
- Minimum resource size
- All transactions
- Transactions of id
- Sum of claims until n
- List identifiers
- Validate
- Maxima
- Check pool size
- Quit
Nikita Seliverstov (nikselko)