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 listApr 26, 2026 06:32Charles CabergsCharles CabergsScore: 35,068Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2026 06:3334,5231,157,266,3951,132,284,0006,995,0002,527,232
2Apr 26, 2026 06:3334,6781,159,324,4861,135,392,0008,995,0002,322,432
3Apr 26, 2026 06:3334,9471,172,449,7151,147,284,0005,996,0002,342,912
4Apr 26, 2026 06:3334,9861,172,362,8681,145,570,0008,996,0002,310,144
5Apr 26, 2026 06:3335,0681,175,835,1881,151,249,0005,996,0002,330,624
6Apr 26, 2026 06:3335,1271,178,319,9931,149,223,0009,993,0002,322,432
7Apr 26, 2026 06:3335,1981,180,266,2481,154,551,0006,997,0002,322,432
8Apr 26, 2026 06:3337,3181,250,592,9881,225,522,0005,997,0002,334,720
9Apr 26, 2026 06:3338,0091,277,193,1641,246,325,0007,995,0002,322,432