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 listSep 18, 2026 16:49Andrew EpsteinAndrew EpsteinScore: 282,466Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 18, 2026 16:51280,3609,263,519,4009,226,645,00025,251,0002,125,824stderr
2Sep 18, 2026 16:51281,4959,300,273,6569,262,988,00026,362,0002,125,824stderr
3Sep 18, 2026 16:51281,8469,312,203,2059,275,790,00025,132,0002,125,824stderr
4Sep 18, 2026 16:51282,1249,321,427,5309,284,832,00025,284,0002,125,824stderr
5Sep 18, 2026 16:51282,4669,333,173,0279,294,080,00027,326,0002,125,824stderr
6Sep 18, 2026 16:51283,8429,377,548,8899,342,133,00024,680,0002,125,824stderr
7Sep 18, 2026 16:51284,0789,385,200,5209,347,261,00027,320,0002,125,824stderr
8Sep 18, 2026 16:51284,2589,392,693,8799,354,865,00025,677,0002,125,824stderr
9Sep 18, 2026 16:51285,1059,419,140,7299,381,421,00027,073,0002,125,824stderr