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 12, 2024 11:02ndbnndbnScore: 199,058Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 12, 2024 11:02197,9746,564,159,3746,494,168,00038,977,0002,523,136
2Nov 12, 2024 11:02198,0756,563,687,8876,501,508,00034,981,0002,338,816
3Nov 12, 2024 11:02198,1546,568,583,1256,489,109,00049,970,0002,371,584
4Nov 12, 2024 11:02198,8436,595,182,3676,523,845,00037,981,0002,322,432
5Nov 12, 2024 11:02199,0586,602,446,3206,524,944,00043,972,0002,523,136
6Nov 12, 2024 11:02199,6246,622,616,5886,547,635,00039,973,0002,355,200
7Nov 12, 2024 11:02199,7996,624,820,6856,552,392,00040,971,0002,301,952
8Nov 12, 2024 11:02200,0896,637,266,7146,565,951,00036,977,0002,306,048
9Nov 12, 2024 11:02202,7926,722,950,8556,654,161,00037,978,0002,285,568