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 listJan 3, 2026 07:18Rajarshi BasuRajarshi BasuScore: 3,272Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2026 07:183,224139,751,018103,396,0003,011,0002,297,856
2Jan 3, 2026 07:183,233131,804,410101,716,0004,986,0002,289,664
3Jan 3, 2026 07:183,240130,252,123103,907,0002,997,0002,297,856
4Jan 3, 2026 07:183,240134,298,771102,917,0003,996,0002,506,752
5Jan 3, 2026 07:183,250130,041,908103,256,0004,009,0002,297,856
6Jan 3, 2026 07:183,250134,130,603103,256,0004,009,0002,318,336
7Jan 3, 2026 07:183,272130,296,235103,988,0003,999,0002,342,912
8Jan 3, 2026 07:183,272132,825,517104,982,0002,999,0002,510,848
9Jan 3, 2026 07:183,277129,679,811104,138,0004,005,0002,514,944
10Jan 3, 2026 07:183,344143,972,191106,330,0004,012,0002,510,848
11Jan 3, 2026 07:183,369132,101,461107,172,0004,006,0002,523,136
12Jan 3, 2026 07:183,370142,775,158107,214,0004,008,0002,412,544