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 listMay 9, 2024 22:46Joad NacerJoad NacerScore: 17,969Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 9, 2024 22:4617,620610,371,182561,479,00019,981,0002,453,504
2May 9, 2024 22:4617,652606,857,335560,539,00021,981,0002,277,376
3May 9, 2024 22:4617,664609,383,643564,905,00017,996,0002,379,776
4May 9, 2024 22:4617,751608,775,784571,788,00013,994,0002,469,888
5May 9, 2024 22:4617,832621,917,779568,468,00019,981,0002,469,888
6May 9, 2024 22:4617,930658,997,461591,675,33802,273,280
7May 9, 2024 22:4617,969652,948,758592,988,31602,260,992
8May 9, 2024 22:4618,029622,437,434579,971,00014,973,0002,277,376
9May 9, 2024 22:4618,148627,067,429581,890,00016,996,0002,457,600
10May 9, 2024 22:4618,178625,621,765583,893,00015,997,0002,416,640
11May 9, 2024 22:4618,433685,774,758608,288,55702,260,992
12May 9, 2024 22:4618,521633,757,016594,219,00016,977,0002,277,376