https://github.com/slowikj/string-set-queries
The solution to a codeforces' algorithmic task (a hashing algorithm)
https://github.com/slowikj/string-set-queries
Last synced: 7 months ago
JSON representation
The solution to a codeforces' algorithmic task (a hashing algorithm)
- Host: GitHub
- URL: https://github.com/slowikj/string-set-queries
- Owner: slowikj
- Created: 2016-09-06T08:57:34.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-24T16:55:03.000Z (about 9 years ago)
- Last Synced: 2025-01-20T14:50:26.725Z (9 months ago)
- Language: C#
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# StringSetQueries
The solution to [a codeforces' algorithmic task](http://codeforces.com/problemset/problem/710/F)
(a hashing algorithm)Task
---
We have three different operations:1. Add a string to the set
2. Remove a string from the set
3. Make a query about the number of occurences of the strings from the set in given stringExample
---
Input
```
5
1 aaa
1 abc
3 aaaabc
2 aaa
3 aaaabc
```Output
```
3
1
```