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 listDec 12, 2024 18:25Yuriy LyfenkoYuriy LyfenkoScore: 6,859Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2024 02:346,611198,323,226508,488,0003,995,0002,744,320
2Sep 9, 2024 02:346,686200,586,555510,790,0004,997,0002,764,800
3Sep 9, 2024 02:346,735202,049,903514,310,0002,001,0002,752,512
4Sep 9, 2024 02:346,764202,919,401508,645,0004,996,0002,625,536
5Sep 9, 2024 02:346,776203,269,224517,073,0004,008,0002,764,800
6Sep 9, 2024 02:346,832204,972,281512,714,0002,998,0002,621,440
7Sep 9, 2024 02:346,859205,755,729522,733,000999,0002,629,632
8Sep 9, 2024 02:346,893206,776,437512,706,0002,998,0002,818,048
9Dec 12, 2024 18:256,973209,183,397523,886,0003,005,0002,736,128
10Dec 12, 2024 18:257,008210,232,192521,600,0003,996,0002,617,344
11Sep 9, 2024 02:347,102213,050,022521,102,0005,000,0002,621,440
12Dec 12, 2024 18:258,637259,095,097509,499,0002,997,0002,568,192