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 listJul 29, 2022 06:20Robert BurkeRobert BurkeScore: 9,272Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2022 06:208,979269,375,630241,772,0005,994,0002,646,016
2Jul 29, 2022 06:209,121273,633,686246,770,0003,996,0002,613,248
3Jul 29, 2022 06:209,208276,242,272246,572,0004,991,0002,535,424
4Jul 29, 2022 06:209,222276,650,431247,581,0003,993,0002,576,384
5Jul 29, 2022 06:209,229276,855,444247,584,0004,991,0002,707,456
6Jul 29, 2022 06:209,237277,112,591248,181,0003,002,0002,613,248
7Jul 29, 2022 06:209,272278,172,394248,923,0001,999,0002,600,960
8Jul 29, 2022 06:209,290278,699,680246,055,0005,001,0002,625,536
9Jul 29, 2022 06:209,315279,438,530246,193,0005,003,0002,600,960
10Jul 29, 2022 06:209,472284,151,186232,763,34102,396,160
11Jul 29, 2022 06:2010,049301,471,610233,221,01702,392,064
12Jul 29, 2022 06:2010,498314,940,803235,783,81302,387,968