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 listJun 8, 2026 06:32anboto1anboto1Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2026 06:330190,595,796171,377,0009,731,0002,117,632expected "1020629 ", got "1020628 "
2Jun 8, 2026 06:335,497190,677,928171,755,0009,663,0002,117,632
3Jun 8, 2026 06:335,522191,573,836172,313,0009,923,0002,117,632
4Jun 8, 2026 06:335,533192,376,196172,890,0009,711,0002,117,632
5Jun 8, 2026 06:335,533191,957,696172,154,00010,459,0002,117,632
6Jun 8, 2026 06:335,550192,452,296173,417,0009,743,0002,117,632
7Jun 8, 2026 06:335,562194,783,253173,704,0009,856,0002,117,632
8Jun 8, 2026 06:335,580193,366,440173,816,00010,329,0002,117,632
9Jun 8, 2026 06:335,598194,113,286174,387,00010,362,0002,117,632