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:07Andrew EpsteinAndrew EpsteinScore: 43,464Success
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:1343,0761,432,971,4751,414,133,0007,402,0002,121,728stderr
2Oct 30, 2026 00:1343,3511,441,578,9501,422,281,0008,314,0002,121,728stderr
3Oct 30, 2026 00:1343,3641,441,976,1991,423,760,0007,282,0002,121,728stderr
4Oct 30, 2026 00:1343,4011,443,512,3081,424,951,0007,302,0002,121,728stderr
5Oct 30, 2026 00:1343,4641,445,283,5801,426,980,0007,350,0002,121,728stderr
6Oct 30, 2026 00:1343,6401,451,330,2751,432,971,0007,176,0002,121,728stderr
7Oct 30, 2026 00:1343,8461,457,965,1771,439,588,0007,352,0002,121,728stderr
8Oct 30, 2026 00:1344,1641,468,794,6221,450,083,0007,335,0002,121,728stderr
9Oct 30, 2026 00:1344,1941,469,660,2951,451,166,0007,267,0002,121,728stderr