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 27, 2021 07:35gchebanovgchebanovScore: 15,356Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2021 07:3514,483434,497,0671,164,895,00018,965,0002,793,472
2Jun 27, 2021 07:3514,564436,925,5091,173,911,00013,998,0002,805,760
3Jun 27, 2021 07:3514,606438,173,1241,170,877,00018,965,0002,457,600
4Jun 27, 2021 07:3514,750442,512,9171,172,953,00017,968,0002,867,200
5Jun 27, 2021 07:3515,010450,304,5581,168,558,00019,975,0002,662,400
6Jun 27, 2021 07:3515,350460,501,1061,234,565,00016,966,0002,699,264
7Jun 27, 2021 07:3515,356460,682,5941,154,194,07902,404,352
8Jun 27, 2021 07:3515,425462,762,8381,233,760,00018,965,0002,772,992
9Jun 27, 2021 07:3515,432462,959,0121,154,914,64702,412,544
10Jun 27, 2021 07:3515,460463,810,3351,238,939,00017,955,0002,637,824
11Jun 27, 2021 07:3515,501465,023,8711,244,682,00013,985,0002,912,256
12Jun 27, 2021 07:3516,232486,949,1971,153,114,61802,400,256