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 listFeb 11, 2026 19:23olliecrowolliecrowScore: 18,254Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 11, 2026 19:2318,014620,568,982569,500,00024,978,0002,412,544
2Feb 11, 2026 19:2318,196626,437,162574,491,00025,977,0002,269,184
3Feb 11, 2026 19:2318,208626,424,997574,873,00025,994,0002,457,600
4Feb 11, 2026 19:2318,242630,141,330577,997,00023,999,0002,277,376
5Feb 11, 2026 19:2318,254633,393,129577,358,00025,015,0002,461,696
6Feb 11, 2026 19:2318,268631,937,865576,848,00025,993,0002,461,696
7Feb 11, 2026 19:2318,286634,927,813577,476,00025,976,0002,281,472
8Feb 11, 2026 19:2318,317636,290,432580,488,00023,978,0002,412,544
9Feb 11, 2026 19:2318,326625,352,497579,753,00024,989,0002,310,144