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 04:59Robert BurkeRobert BurkeScore: 16,713Success
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 04:5916,300595,155,685537,894,73002,207,744
2Jul 29, 2022 04:5916,337614,092,073539,119,48702,195,456
3Jul 29, 2022 04:5916,481609,135,615543,876,66902,207,744
4Jul 29, 2022 04:5916,547571,908,035509,042,00037,003,0002,297,856
5Jul 29, 2022 04:5916,557573,192,142522,367,00024,016,0002,490,368
6Jul 29, 2022 04:5916,677576,829,282521,317,00029,017,0002,281,472
7Jul 29, 2022 04:5916,713575,337,625518,559,00032,971,0002,383,872
8Jul 29, 2022 04:5916,719575,253,452514,746,00036,981,0002,412,544
9Jul 29, 2022 04:5916,746577,821,652518,632,00033,975,0002,273,280
10Jul 29, 2022 04:5916,758574,243,614526,011,00027,000,0002,387,968
11Jul 29, 2022 04:5916,884585,460,979525,227,00031,953,0002,293,760
12Jul 29, 2022 04:5916,962584,797,289524,757,00034,983,0002,273,280