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 30, 2022 05:17eldon-chungeldon-chungScore: 39,295Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 30, 2022 05:1838,0031,310,937,3181,254,113,97202,293,760
2Aug 30, 2022 05:1739,0731,342,338,5801,289,418,89602,289,664
3Aug 30, 2022 05:1739,1581,348,941,7991,292,207,16002,285,568
4Aug 30, 2022 05:1839,1891,352,360,7761,293,247,16002,285,568
5Aug 30, 2022 05:1739,2491,355,255,5131,295,213,91602,289,664
6Aug 30, 2022 05:1739,2741,357,390,7131,296,033,14602,289,664
7Aug 30, 2022 05:1739,2951,370,256,9701,296,723,74302,289,664
8Aug 30, 2022 05:1839,3401,356,533,1651,298,231,07702,289,664
9Aug 30, 2022 05:1739,4261,358,000,4501,301,041,91802,289,664
10Aug 30, 2022 05:1739,4551,361,302,1331,302,006,50002,285,568
11Aug 30, 2022 05:1739,4931,385,717,6441,303,281,16202,297,856
12Aug 30, 2022 05:1740,6881,427,232,2541,342,696,44402,297,856