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 27, 2024 23:49Joad NacerJoad NacerScore: 8,100Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2024 23:497,625305,993,949251,627,38802,236,416
2May 27, 2024 23:497,669314,330,196253,093,02902,224,128
3May 27, 2024 23:497,676314,718,818253,303,34702,224,128
4May 27, 2024 23:498,022288,439,713206,782,00057,939,0002,277,376
5May 27, 2024 23:498,058287,542,222210,937,00054,983,0002,482,176
6May 27, 2024 23:498,074294,374,327209,552,00056,878,0002,433,024
7May 27, 2024 23:498,100293,871,740209,223,00058,062,0002,433,024
8May 27, 2024 23:498,113291,489,706211,786,00055,943,0002,281,472
9May 27, 2024 23:498,116291,025,730207,872,00059,963,0002,416,640
10May 27, 2024 23:498,142292,291,991211,763,00056,936,0002,514,944
11May 27, 2024 23:498,478306,244,816221,827,00057,954,0002,519,040
12May 27, 2024 23:498,519309,461,426224,110,00057,028,0002,441,216