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 listNov 26, 2024 21:25MatthiasMatthiasScore: 65,951Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 26, 2024 21:2565,6632,193,543,9842,067,918,00098,948,0002,281,472
2Nov 26, 2024 21:2565,6982,192,822,7682,072,136,00095,913,0002,441,216
3Nov 26, 2024 21:2565,9022,199,686,6202,079,807,00094,945,0002,281,472
4Nov 26, 2024 21:2565,9312,199,134,0522,084,765,00090,946,0002,404,352
5Nov 26, 2024 21:2565,9512,203,010,1452,084,457,00091,931,0002,396,160
6Nov 26, 2024 21:2566,2792,211,821,8172,085,290,000101,916,0002,281,472
7Nov 26, 2024 21:2566,3142,219,063,6042,092,447,00095,928,0002,281,472
8Nov 26, 2024 21:2566,3172,217,675,6622,093,520,00094,932,0002,330,624
9Nov 26, 2024 21:2566,6452,231,242,1092,104,350,00094,925,0002,314,240