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 listOct 10, 2024 21:21Vladimir TatVladimir TatScore: 290,295Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 10, 2024 21:21289,1309,574,421,3879,512,314,00028,982,0002,293,760
2Oct 10, 2024 21:21289,7999,595,871,0519,534,389,00028,982,0002,285,568
3Oct 10, 2024 21:21289,9819,607,035,1579,528,412,00040,975,0002,473,984
4Oct 10, 2024 21:21290,0989,607,377,6859,528,266,00044,972,0002,527,232
5Oct 10, 2024 21:21290,2959,613,937,8939,542,744,00036,979,0002,416,640
6Oct 10, 2024 21:21291,2059,652,026,9049,587,766,00021,987,0002,310,144
7Oct 10, 2024 21:21292,5429,685,787,1589,621,923,00031,979,0002,326,528
8Oct 10, 2024 21:21293,6259,722,209,1539,660,649,00028,980,0002,535,424
9Oct 10, 2024 21:21293,7539,725,550,5539,670,855,00022,985,0002,457,600