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 12:08Charles CabergsCharles CabergsScore: 53,070Success
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 12:0952,4601,750,547,8441,716,215,00014,993,0002,310,144stderr
2Apr 26, 2026 12:0952,7311,757,585,9561,726,147,00013,993,0002,310,144stderr
3Apr 26, 2026 12:0952,7651,757,837,5561,729,276,00011,994,0002,318,336stderr
4Apr 26, 2026 12:0953,0261,767,780,1731,732,875,00016,988,0002,318,336stderr
5Apr 26, 2026 12:0953,0701,774,673,3951,736,325,00014,994,0002,310,144stderr
6Apr 26, 2026 12:0953,8001,793,408,6931,760,429,00014,995,0002,523,136stderr
7Apr 26, 2026 12:0955,4151,849,428,3441,817,707,00010,992,0002,310,144stderr
8Apr 26, 2026 12:0955,4451,850,966,3891,819,718,0009,992,0002,310,144stderr
9Apr 26, 2026 12:0955,4471,847,803,5651,812,790,00016,988,0002,318,336stderr