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 listMar 6, 2026 21:15Pavel SamyginPavel SamyginScore: 20,800Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 6, 2026 21:1520,595711,319,464655,690,00023,952,0002,306,048
2Mar 6, 2026 21:1520,642710,439,823663,229,00017,952,0002,453,504
3Mar 6, 2026 21:1520,648710,000,003663,443,00017,957,0002,416,640
4Mar 6, 2026 21:1520,782717,119,941660,817,00024,993,0002,482,176
5Mar 6, 2026 21:1520,800716,262,191664,422,00021,980,0002,289,664
6Mar 6, 2026 21:1520,984719,613,071669,503,00022,982,0002,306,048
7Mar 6, 2026 21:1521,014726,763,166676,469,00016,986,0002,351,104
8Mar 6, 2026 21:1521,043723,165,802671,432,00022,980,0002,297,856
9Mar 6, 2026 21:1521,052728,459,040671,760,00022,957,0002,269,184