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 listOct 30, 2026 00:34Andrew EpsteinAndrew EpsteinScore: 56,478Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 00:4556,2361,868,500,1401,846,367,0009,448,0002,121,728stderr
2Oct 30, 2026 00:4556,2431,867,031,5431,847,672,0008,367,0002,121,728stderr
3Oct 30, 2026 00:4556,3281,869,775,4261,850,368,0008,465,0002,121,728stderr
4Oct 30, 2026 00:4556,3311,869,827,1851,850,506,0008,430,0002,121,728stderr
5Oct 30, 2026 00:4556,4781,874,851,0511,855,285,0008,508,0002,121,728stderr
6Oct 30, 2026 00:4556,5031,876,080,8261,856,231,0008,398,0002,121,728stderr
7Oct 30, 2026 00:4556,9481,890,587,5801,870,870,0008,436,0002,121,728stderr
8Oct 30, 2026 00:4557,0711,894,328,6351,874,902,0008,472,0002,121,728stderr
9Oct 30, 2026 00:4557,1351,896,419,1831,877,055,0008,417,0002,121,728stderr