Unique strings v2 Sergey Svistunov

Same problem as Unique strings, but with 3 CPUs available and scoring based on wall time instead of CPU time.

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 10, 2025 13:59Emanuele BolognesiEmanuele BolognesiScore: 111,818Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 10, 2025 13:59109,2443,277,316,1023,213,377,00027,985,0002,707,456
2May 10, 2025 13:59110,0213,300,638,1823,244,326,00022,988,0002,736,128
3May 10, 2025 13:59111,0013,330,040,8813,273,569,00023,989,0002,736,128
4May 10, 2025 13:59111,3653,340,935,1453,287,538,00022,989,0002,768,896
5May 10, 2025 13:59111,8183,354,544,8773,311,683,00015,993,0002,699,264
6May 10, 2025 13:59111,9093,357,271,4963,305,970,00019,987,0002,699,264
7May 10, 2025 13:59112,1653,364,957,9743,315,628,00024,989,0002,740,224
8May 10, 2025 13:59112,1933,365,787,4083,320,473,00016,992,0002,777,088
9May 10, 2025 13:59112,5783,377,338,2083,319,222,00021,988,0002,678,784