Unique strings Sergey Svistunov

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 listAug 31, 2022 22:34vanderlindevanderlindeScore: 241,228Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2022 22:35239,4687,960,412,0547,902,433,32702,211,840
2Aug 31, 2022 22:35240,0267,989,254,0547,920,867,28502,199,552
3Aug 31, 2022 22:34240,7098,015,317,3317,943,409,92502,191,360
4Aug 31, 2022 22:34241,2288,040,912,6797,960,518,49002,273,280
5Aug 31, 2022 22:34242,4638,069,184,0248,001,265,62502,285,568
6Aug 31, 2022 22:35246,4248,203,386,7778,131,998,24702,236,416