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 listDec 20, 2025 15:16Rajarshi BasuRajarshi BasuScore: 5,078Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 20, 2025 15:165,045195,808,259161,455,0005,014,0002,523,136
2Dec 20, 2025 15:165,060193,225,909162,984,0003,999,0002,310,144
3Dec 20, 2025 15:165,061194,257,665163,003,0004,000,0002,514,944
4Dec 20, 2025 15:165,069190,104,115161,266,0006,009,0002,510,848
5Dec 20, 2025 15:165,072193,410,840162,368,0005,011,0002,408,448
6Dec 20, 2025 15:165,077195,836,682161,560,0005,983,0002,445,312
7Dec 20, 2025 15:165,078200,125,262163,562,0004,013,0002,514,944
8Dec 20, 2025 15:165,080192,226,119161,647,0005,986,0002,510,848
9Dec 20, 2025 15:165,083193,440,589163,759,0003,994,0002,277,376
10Dec 20, 2025 15:165,102197,352,815163,340,0005,010,0002,514,944
11Dec 20, 2025 15:165,253200,699,600168,329,0005,009,0002,527,232
12Dec 20, 2025 15:165,272201,095,266168,990,0004,999,0002,510,848