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 listSep 22, 2024 14:54Alex KentAlex KentScore: 57,342Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 22, 2024 14:5456,8481,904,868,7341,858,979,00016,990,0002,289,664
2Sep 22, 2024 14:5456,8971,906,463,6491,856,602,00020,995,0002,469,888
3Sep 22, 2024 14:5457,0551,906,741,5941,859,839,00022,985,0002,306,048
4Sep 22, 2024 14:5457,2091,910,650,0971,862,902,00024,985,0002,273,280
5Sep 22, 2024 14:5457,3421,921,459,6941,874,284,00017,993,0002,322,432
6Sep 22, 2024 14:5457,4011,917,939,5821,872,237,00021,991,0002,273,280
7Sep 22, 2024 14:5457,4801,925,895,5651,877,860,00018,988,0002,273,280
8Sep 22, 2024 14:5457,8671,941,479,0451,887,630,00021,984,0002,273,280
9Sep 22, 2024 14:5458,1121,948,341,6451,895,707,00021,985,0002,273,280