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 listAug 4, 2024 00:29Henry CafaroHenry CafaroScore: 16,384Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 00:2916,212556,170,533522,010,00013,000,0002,445,312
2Aug 4, 2024 00:2916,229559,730,947520,577,00014,987,0002,478,080
3Aug 4, 2024 00:2916,249561,315,855515,224,00021,009,0002,473,984
4Aug 4, 2024 00:2916,265560,546,721519,743,00016,991,0002,277,376
5Aug 4, 2024 00:2916,265557,811,472523,752,00012,993,0002,277,376
6Aug 4, 2024 00:2916,310564,684,353523,225,00015,006,0002,469,888
7Aug 4, 2024 00:2916,384569,751,692518,698,00021,987,0002,265,088
8Aug 4, 2024 00:2916,595607,749,807547,641,86402,269,184
9Aug 4, 2024 00:2916,638616,910,067549,064,56602,269,184
10Aug 4, 2024 00:2916,662624,070,246549,839,50902,400,256
11Aug 4, 2024 00:2916,700576,050,187531,131,00019,967,0002,424,832
12Aug 4, 2024 00:2916,778577,985,067540,671,00012,992,0002,342,912