Unique strings Sergey Svistunov

Count the exact number of unique tokens as fast as possible.

Input

One token per line on STDIN:

JWXcKKaWzvFL5
Rof
3ztCpA
5wHcGN
*UiEMthaTS*g

Output

Print the exact count of unique tokens to STDOUT.

Constraints

  • Character set: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#%*
  • Maximum token length: 16
  • Approximately 1,000,000 unique tokens
Back to listMay 11, 2025 23:42Christopher TarryChristopher TarryScore: 492,232Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2025 23:42489,20116,184,164,01816,041,694,000101,940,0002,338,816
2May 11, 2025 23:42490,33216,216,093,81616,086,006,00094,946,0002,519,040
3May 11, 2025 23:42490,91416,237,018,48616,101,220,00098,939,0002,314,240
4May 11, 2025 23:42491,70616,267,551,82416,114,371,000111,926,0002,293,760
5May 11, 2025 23:42492,23216,283,030,45616,155,697,00087,943,0002,420,736
6May 11, 2025 23:42492,95216,302,007,25616,171,458,00095,943,0002,318,336
7May 11, 2025 23:42493,70416,333,227,74516,183,316,000108,928,0002,269,184
8May 11, 2025 23:42494,42516,352,061,49816,223,076,00092,948,0002,404,352
9May 11, 2025 23:42503,96116,668,397,65616,527,781,000102,930,0002,289,664