The code below calls the tag pinning service twice in succession and prints a summary after each call. You need to determine the exact stdout of the program.
What is important to consider
- Empty strings and whitespace-only strings are discarded before attempting to pin.
- Tag comparison is case-insensitive.
- The service keeps shared state between calls within a single instance.
- Within one call, a repeated tag after normalization is treated as a skip if the tag has already been pinned earlier in that same instance.
- The output includes the
Added and Skipped fields for each call.
Reproduction
- Save the files from the task.
- Run the program with:
dotnet run
Expected behavior
- The program prints exactly two lines.
- The format of each line:
<Label>: Added=<number>;Skipped=<number>
- You need to provide the exact output, preserving the order of lines and characters.