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 listSep 7, 2022 16:33Bernard TeoBernard TeoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 16:3300000Error: expected "1025233 ", got "1025231"
2Sep 7, 2022 16:3400000Error: expected "1021483 ", got "1021481"
3Sep 7, 2022 16:3400000Error: expected "1019805 ", got "1019804"
4Sep 7, 2022 16:3400000Error: expected "1026355 ", got "1026352"
5Sep 7, 2022 16:3400000Error: expected "1021782 ", got "1021780"
6Sep 7, 2022 16:3400000Error: expected "1019362 ", got "1019361"
7Sep 7, 2022 16:3400000Error: expected "1020401 ", got "1020400"
8Sep 7, 2022 16:3400000Error: expected "1019662 ", got "1019661"
9Sep 7, 2022 16:3400000Error: expected "1022159 ", got "1022156"
10Sep 7, 2022 16:3600000Error: expected "1025227 ", got "1025226"
11Sep 7, 2022 16:3600000Error: expected "1019208 ", got "1019207"
12Sep 7, 2022 16:345,153154,587,119101,932,88402,424,832
13Sep 7, 2022 16:345,457163,722,095101,662,01902,420,736
14Sep 7, 2022 16:345,610168,305,884101,948,91002,310,144