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:01E SequeiraE SequeiraScore: 221,126Success
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:01220,3337,308,562,4667,242,997,00027,984,0002,375,680
2Nov 9, 2024 23:01220,5177,303,158,2427,261,056,00015,991,0002,355,200
3Nov 9, 2024 23:01220,8787,325,656,8577,259,991,00028,983,0002,457,600
4Nov 9, 2024 23:01221,0517,327,066,6997,265,702,00028,982,0002,519,040
5Nov 9, 2024 23:01221,1267,324,266,6937,269,174,00027,985,0002,383,872
6Nov 9, 2024 23:01221,6957,350,556,5127,284,967,00030,982,0002,334,720
7Nov 9, 2024 23:01223,0557,394,126,3857,337,829,00022,986,0002,412,544
8Nov 9, 2024 23:01223,1647,397,347,5237,343,438,00020,986,0002,486,272
9Nov 9, 2024 23:01226,0987,494,877,3567,437,256,00023,984,0002,482,176