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 24, 2026 07:02Victor MerckléVictor MerckléError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 24, 2026 07:030170,102,652124,351,00037,844,0002,113,536expected "1020500 ", got "1020499 "
2Jun 24, 2026 07:034,891169,242,450124,465,00036,948,0002,113,536
3Jun 24, 2026 07:034,896169,706,997124,706,00036,868,0002,113,536
4Jun 24, 2026 07:034,898169,170,637124,013,00037,651,0002,113,536
5Jun 24, 2026 07:034,909169,884,267124,443,00037,567,0002,113,536
6Jun 24, 2026 07:034,920169,914,221124,839,00037,540,0002,113,536
7Jun 24, 2026 07:034,921169,866,941124,442,00037,957,0002,113,536
8Jun 24, 2026 07:034,929170,528,929124,863,00037,799,0002,113,536
9Jun 24, 2026 07:034,940170,810,478125,066,00037,954,0002,113,536