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 17:02matsuoka-601matsuoka-601Score: 9,570Success
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 17:029,519340,437,705303,112,00011,004,0002,342,912
2Aug 8, 2023 17:029,522343,038,205303,204,00011,007,0002,420,736
3Aug 8, 2023 17:029,530338,680,300301,503,00012,978,0002,318,336
4Aug 8, 2023 17:029,536342,029,217303,684,00010,988,0002,469,888
5Aug 8, 2023 17:029,551341,335,529304,169,00011,006,0002,412,544
6Aug 8, 2023 17:029,564338,798,340305,636,0009,988,0002,424,832
7Aug 8, 2023 17:029,570345,826,976303,805,00011,992,0002,445,312
8Aug 8, 2023 17:029,575340,799,752304,963,00010,998,0002,420,736
9Aug 8, 2023 17:029,589347,101,213301,468,00014,973,0002,392,064
10Aug 8, 2023 17:029,678380,080,457319,358,07102,199,552
11Aug 8, 2023 17:029,704384,614,454320,240,55602,183,168
12Aug 8, 2023 17:029,730386,186,664321,083,06302,207,744