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 6, 2024 21:06Joad NacerJoad NacerScore: 4,517Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2024 21:064,170125,105,775201,674,0005,016,0002,527,232
2Dec 6, 2024 21:064,325129,759,489199,062,0005,001,0002,678,784
3Dec 6, 2024 21:064,338130,152,829204,883,0006,025,0002,658,304
4Dec 6, 2024 21:064,410132,286,877206,075,0004,001,0002,609,152
5Dec 6, 2024 21:064,416132,493,248208,388,0003,005,0002,564,096
6Dec 6, 2024 21:064,473134,196,771204,024,0005,000,0002,338,816
7Dec 6, 2024 21:064,498134,932,563205,928,0005,022,0002,375,680
8Dec 6, 2024 21:064,517135,511,286216,893,0004,016,0002,392,064
9Dec 6, 2024 21:064,561136,817,542213,657,0005,015,0002,486,272
10Dec 6, 2024 21:064,562136,847,857214,095,0004,001,0002,609,152
11Dec 6, 2024 21:064,567137,007,392212,999,0002,999,0002,367,488
12Dec 6, 2024 21:064,580137,394,737220,232,0002,002,0002,404,352
13Dec 6, 2024 21:064,616138,479,219217,877,0004,016,0002,772,992
14Dec 6, 2024 21:064,629138,880,612210,871,0001,998,0002,355,200
15Dec 6, 2024 21:064,755142,659,426216,282,0005,006,0002,347,008