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:36Robert BurkeRobert BurkeScore: 11,801Success
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:3611,577454,338,593382,027,73502,285,568
2Jul 29, 2022 05:3611,614449,264,887383,262,70802,281,472
3Jul 29, 2022 05:3611,644446,791,500384,249,21302,277,376
4Jul 29, 2022 05:3611,679411,629,583354,366,00031,032,0002,498,560
5Jul 29, 2022 05:3611,719408,811,163359,746,00026,980,0002,387,968
6Jul 29, 2022 05:3611,730409,871,958354,079,00033,007,0002,269,184
7Jul 29, 2022 05:3611,801414,105,382355,495,00033,951,0002,273,280
8Jul 29, 2022 05:3611,839412,218,606360,709,00029,975,0002,514,944
9Jul 29, 2022 05:3611,881413,488,753361,059,00031,005,0002,502,656
10Jul 29, 2022 05:3611,891425,132,899356,368,00036,037,0002,269,184
11Jul 29, 2022 05:3611,893420,532,201357,525,00034,953,0002,523,136
12Jul 29, 2022 05:3612,021421,441,220365,721,00030,976,0002,502,656