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 listSep 3, 2023 07:21matsuoka-601matsuoka-601Score: 11,829Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2023 07:2111,539406,170,217371,792,0008,994,0002,437,120
2Sep 3, 2023 07:2111,562409,910,161372,572,0008,989,0002,433,024
3Sep 3, 2023 07:2111,623410,020,878374,574,0008,989,0002,498,560
4Sep 3, 2023 07:2111,638417,890,090376,069,0007,980,0002,301,952
5Sep 3, 2023 07:2111,663413,641,423374,913,0009,971,0002,510,848
6Sep 3, 2023 07:2111,715409,026,897377,602,0008,990,0002,428,928
7Sep 3, 2023 07:2111,829414,225,943381,376,0008,985,0002,301,952
8Sep 3, 2023 07:2111,845459,451,845390,899,16302,224,128
9Sep 3, 2023 07:2111,862453,954,820391,439,52302,211,840
10Sep 3, 2023 07:2111,868425,095,920382,640,0008,991,0002,424,832
11Sep 3, 2023 07:2112,060432,351,350389,985,0007,979,0002,420,736
12Sep 3, 2023 07:2112,080461,189,261398,655,26702,224,128