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 22, 2023 06:51Sergey StreminSergey StreminScore: 10,442Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2023 06:5110,362310,859,763779,597,00044,919,0002,707,456
2Dec 22, 2023 06:5110,376311,275,115774,552,00047,910,0002,740,224
3Dec 22, 2023 06:5110,383311,501,498773,745,00044,985,0002,646,016
4Dec 22, 2023 06:5110,397311,899,866774,864,00049,862,0002,772,992
5Dec 22, 2023 06:5110,404312,134,990771,944,00051,996,0002,875,392
6Dec 22, 2023 06:5110,410312,303,611776,246,00046,954,0002,723,840
7Dec 22, 2023 06:5110,442313,248,162779,248,00036,964,0002,711,552
8Dec 22, 2023 06:5110,548316,439,455768,260,00054,947,0002,654,208
9Dec 22, 2023 06:5110,556316,680,876781,214,00043,899,0002,756,608
10Dec 22, 2023 06:5111,407342,204,136790,632,65602,605,056
11Dec 22, 2023 06:5111,499344,984,951788,555,44102,580,480
12Dec 22, 2023 06:5111,559346,762,502792,969,29902,592,768