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 8, 2023 14:14matsuoka-601matsuoka-601Score: 9,461Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 8, 2023 14:149,381335,054,341293,607,00015,978,0002,424,832
2Aug 8, 2023 14:149,389338,114,832291,839,00017,990,0002,531,328
3Aug 8, 2023 14:149,416341,786,356295,737,00014,986,0002,371,584
4Aug 8, 2023 14:149,421331,129,755289,916,00020,993,0002,289,664
5Aug 8, 2023 14:149,430336,845,200296,181,00015,009,0002,514,944
6Aug 8, 2023 14:149,432337,970,854290,233,00021,016,0002,351,104
7Aug 8, 2023 14:149,461343,318,820297,200,00015,010,0002,342,912
8Aug 8, 2023 14:149,470338,730,228295,536,00016,973,0002,437,120
9Aug 8, 2023 14:149,518338,417,519293,091,00021,006,0002,363,392
10Aug 8, 2023 14:149,535370,201,095314,642,80302,281,472
11Aug 8, 2023 14:149,598372,114,305316,724,98402,252,800
12Aug 8, 2023 14:149,603385,090,667316,907,53402,273,280