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 listJul 29, 2022 05:24Robert BurkeRobert BurkeScore: 12,929Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2022 05:2412,664438,682,439388,933,00028,995,0002,457,600
2Jul 29, 2022 05:2412,728441,056,719393,010,00027,000,0002,334,720
3Jul 29, 2022 05:2412,784450,167,502392,878,00028,991,0002,396,160
4Jul 29, 2022 05:2412,802445,121,546386,433,00036,040,0002,465,792
5Jul 29, 2022 05:2412,901447,415,663394,760,00030,981,0002,351,104
6Jul 29, 2022 05:2412,917449,553,360391,226,00035,020,0002,289,664
7Jul 29, 2022 05:2412,929495,334,086426,670,25502,228,224
8Jul 29, 2022 05:2412,992453,041,350401,748,00026,983,0002,441,216
9Jul 29, 2022 05:2413,004452,901,460401,122,00028,008,0002,535,424
10Jul 29, 2022 05:2413,019457,630,311395,643,00033,969,0002,273,280
11Jul 29, 2022 05:2413,021485,286,397429,685,34302,236,416
12Jul 29, 2022 05:2413,142489,679,123433,696,27202,232,320