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 listJun 8, 2021 23:25Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2021 23:2700000Error: expected "1039840 ", got "1039839 "
2Jun 8, 2021 23:3200000Error: expected "1040532 ", got "1040529 "
3Jun 8, 2021 23:3200000Error: expected "1042518 ", got "1042517 "
4Jun 8, 2021 23:3200000Error: expected "1042701 ", got "1042699 "
5Jun 8, 2021 23:3200000Error: expected "1039697 ", got "1039696 "
6Jun 8, 2021 23:3000000Error: expected "1036057 ", got "1036056 "
7Jun 8, 2021 23:3000000Error: expected "1036489 ", got "1036488 "
8Jun 8, 2021 23:2900000Error: expected "1042194 ", got "1042193 "
9Jun 8, 2021 23:2900000Error: expected "1041688 ", got "1041687 "
10Jun 8, 2021 23:2800000Error: expected "1041025 ", got "1041024 "
11Jun 8, 2021 23:2800000Error: expected "1041526 ", got "1041525 "
12Jun 8, 2021 23:2800000Error: expected "1036364 ", got "1036363 "
13Jun 8, 2021 23:2700000Error: expected "1038150 ", got "1038148 "
14Jun 8, 2021 23:2700000Error: expected "1038349 ", got "1038348 "
15Jun 8, 2021 23:2700000Error: expected "1039155 ", got "1039154 "
16Jun 8, 2021 23:2600000Error: expected "1038960 ", got "1038959 "
17Jun 8, 2021 23:295,499164,957,494323,130,29502,351,104
18Jun 8, 2021 23:295,989179,661,794322,246,92402,572,288
19Jun 8, 2021 23:296,017180,518,597317,157,79002,457,600
20Jun 8, 2021 23:268,793263,789,405605,150,63902,437,120
21Jun 8, 2021 23:269,111273,324,134607,056,31202,428,928
22Jun 8, 2021 23:259,436283,073,851687,636,60602,445,312
23Jun 8, 2021 23:269,498284,946,560607,133,27702,424,832
24Jun 8, 2021 23:259,966298,991,350671,078,87002,564,096
25Jun 8, 2021 23:259,986299,590,956689,418,21902,535,424