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 21, 2026 00:06Victor MerckléVictor MerckléScore: 10,287Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 21, 2026 00:0710,269346,634,049301,507,00037,392,0002,117,632stderr
2Jun 21, 2026 00:0710,271346,579,387301,537,00037,418,0002,117,632stderr
3Jun 21, 2026 00:0710,271346,636,678301,644,00037,322,0002,117,632stderr
4Jun 21, 2026 00:0710,274346,819,668301,694,00037,351,0002,117,632stderr
5Jun 21, 2026 00:0710,287347,187,597302,129,00037,374,0002,117,632stderr
6Jun 21, 2026 00:0710,310348,722,224301,913,00038,323,0002,117,632stderr
7Jun 21, 2026 00:0710,325348,490,369303,392,00037,338,0002,117,632stderr
8Jun 21, 2026 00:0710,526354,940,782310,145,00037,232,0002,117,632stderr
9Jun 21, 2026 00:0710,858365,838,425320,082,00038,243,0002,117,632stderr