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 7, 2021 18:16Yuriy 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 13:0800000Error: expected "1036364 ", got "1036362 "
2Jun 7, 2021 22:0300000Error: expected "1034946 ", got "1034945 "
3Jun 7, 2021 22:0300000Error: expected "1036039 ", got "1036038 "
4Jun 7, 2021 22:0200000Error: expected "1036261 ", got "1036259 "
5Jun 7, 2021 20:3200000Error: expected "1034479 ", got "1034478 "
6Jun 7, 2021 20:3200000Error: expected "1036617 ", got "1036616 "
7Jun 7, 2021 20:327,581227,434,048505,634,94502,486,272
8Jun 7, 2021 20:327,627228,806,284504,298,87902,379,776
9Jun 7, 2021 20:327,635229,048,910504,537,92302,453,504
10Jun 7, 2021 18:167,649229,481,618503,318,57602,453,504
11Jun 7, 2021 18:167,675230,250,548488,451,96502,338,816
12Jun 7, 2021 20:317,693230,775,072502,516,73602,482,176
13Jun 7, 2021 22:017,698230,945,789502,668,47902,605,056
14Jun 7, 2021 20:327,700231,008,810506,116,40202,490,368
15Jun 7, 2021 22:017,704231,132,382503,983,22502,555,904
16Jun 7, 2021 22:017,719231,555,540504,251,14502,441,216
17Jun 7, 2021 18:167,721231,620,012504,500,48302,580,480
18Jun 7, 2021 20:327,745232,336,607506,533,80102,465,792
19Jun 7, 2021 20:327,746232,382,514504,492,85902,482,176
20Jun 7, 2021 22:017,773233,183,391503,058,83202,478,080
21Jun 7, 2021 20:327,796233,866,616505,792,73302,351,104
22Jun 7, 2021 18:167,800234,006,193502,562,01702,465,792
23Jun 7, 2021 20:327,832234,967,787502,372,28102,338,816
24Jun 7, 2021 20:327,865235,955,976504,664,71402,473,984
25Jun 7, 2021 22:017,902237,045,632506,907,18202,469,888
26Jun 7, 2021 22:017,941238,215,582504,449,26202,441,216
27Jun 7, 2021 20:317,961238,839,573504,238,65902,465,792
28Jun 8, 2021 13:137,962238,845,546503,253,89902,453,504
29Jun 7, 2021 18:168,024240,731,346502,499,86302,473,984
30Jun 7, 2021 22:018,045241,355,173505,183,52802,469,888
31Jun 7, 2021 22:018,057241,709,595506,475,07802,457,600
32Jun 7, 2021 22:018,083242,491,712504,023,82602,347,008
33Jun 8, 2021 13:138,086242,594,345503,266,19502,605,056
34Jun 7, 2021 18:168,180245,413,813486,646,30202,453,504
35Jun 7, 2021 20:318,189245,657,583506,659,09302,342,912
36Jun 7, 2021 20:318,208246,233,371505,834,41402,580,480
37Jun 7, 2021 20:318,256247,677,451503,990,45602,347,008
38Jun 8, 2021 13:138,456253,677,764505,109,46102,449,408
39Jun 7, 2021 20:319,367281,017,355504,307,97402,469,888