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:35Sergey StreminSergey StreminError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2021 15:2400000Error: expected "1022821 ", got "1022472 "
2Jun 7, 2021 18:3516,591497,719,7981,303,118,55402,469,888
3Jun 7, 2021 18:3516,748502,446,0161,300,871,77502,469,888
4Jun 7, 2021 18:3516,768503,052,6101,290,194,14902,473,984
5Jun 7, 2021 18:3516,794503,823,5231,294,728,92202,473,984
6Jun 7, 2021 18:3516,829504,870,3951,292,169,04302,486,272
7Jun 7, 2021 18:3516,852505,572,2281,304,346,70502,457,600
8Jun 7, 2021 18:3516,899506,975,4221,294,098,96102,588,672
9Jun 7, 2021 18:3516,939508,156,7061,305,009,07602,469,888
10Jun 7, 2021 18:3516,984509,524,5651,294,418,03402,383,872
11Jun 7, 2021 18:3517,124513,721,9361,304,775,31902,473,984
12Jun 7, 2021 18:3517,551526,523,8971,302,313,32902,469,888
13Jun 7, 2021 18:3517,614528,422,4931,286,915,22502,478,080