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 9, 2024 23:00E SequeiraE SequeiraScore: 261,109Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 9, 2024 23:00259,4968,595,652,3818,533,394,00029,983,0002,441,216
2Nov 9, 2024 23:00259,5398,597,047,9208,534,820,00029,981,0002,514,944
3Nov 9, 2024 23:00259,6878,605,816,7038,543,689,00025,983,0002,535,424
4Nov 9, 2024 23:00261,0958,650,132,4598,589,138,00026,984,0002,494,464
5Nov 9, 2024 23:00261,1098,657,352,6148,588,604,00027,982,0002,383,872
6Nov 9, 2024 23:00262,1248,691,522,5798,622,125,00027,980,0002,408,448
7Nov 9, 2024 23:00262,7048,701,317,0408,644,237,00024,986,0002,461,696
8Nov 9, 2024 23:00263,1098,714,237,5208,651,630,00030,980,0002,523,136
9Nov 9, 2024 23:00264,8758,774,260,6628,715,895,00024,982,0002,355,200