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:11E SequeiraE SequeiraScore: 197,877Success
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:11196,3466,514,532,0966,459,447,00019,985,0002,351,104
2Nov 9, 2024 23:11197,1636,537,925,0706,486,408,00019,985,0002,355,200
3Nov 9, 2024 23:11197,1696,538,040,7726,477,587,00028,980,0002,457,600
4Nov 9, 2024 23:11197,3106,548,000,7996,487,257,00023,982,0002,301,952
5Nov 9, 2024 23:11197,8776,566,656,8716,512,945,00016,986,0002,375,680
6Nov 9, 2024 23:11198,0306,572,753,6526,512,007,00022,982,0002,293,760
7Nov 9, 2024 23:11198,7836,593,563,4626,537,849,00021,982,0002,301,952
8Nov 9, 2024 23:11198,8196,592,226,1186,543,056,00017,986,0002,314,240
9Nov 9, 2024 23:11201,0436,669,442,6656,617,421,00016,985,0002,531,328