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 listDec 17, 2022 23:31Franek KortaFranek KortaScore: 17,556Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 17, 2022 23:3117,512600,471,507559,897,00017,996,0002,334,720
2Dec 17, 2022 23:3117,513601,919,179562,919,00014,997,0002,490,368
3Dec 17, 2022 23:3117,531607,090,267560,525,00017,984,0002,420,736
4Dec 17, 2022 23:3117,533599,848,936563,586,00014,989,0002,416,640
5Dec 17, 2022 23:3117,544604,493,823565,951,00012,998,0002,363,392
6Dec 17, 2022 23:3117,545598,043,535564,975,00013,999,0002,506,752
7Dec 17, 2022 23:3117,556603,514,452562,371,00016,981,0002,387,968
8Dec 17, 2022 23:3117,585605,954,450562,329,00017,978,0002,363,392
9Dec 17, 2022 23:3117,618601,942,495560,411,00020,977,0002,379,776
10Dec 17, 2022 23:3118,057665,859,998595,874,33402,277,376
11Dec 17, 2022 23:3118,099666,659,507597,273,38402,281,472
12Dec 17, 2022 23:3118,107658,383,389597,532,67102,265,088