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 16:24Robert BurkeRobert BurkeScore: 7,715Success
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 16:247,124301,612,095235,082,45202,273,280
2Jul 29, 2022 16:247,170306,773,887236,595,49102,273,280
3Jul 29, 2022 16:247,207294,124,089237,840,58002,281,472
4Jul 29, 2022 16:247,629274,800,702248,756,0002,997,0002,367,488
5Jul 29, 2022 16:247,637274,081,433247,034,0005,000,0002,371,584
6Jul 29, 2022 16:247,674283,291,140250,240,0003,002,0002,269,184
7Jul 29, 2022 16:247,715280,722,170249,606,0004,992,0002,334,720
8Jul 29, 2022 16:247,715274,106,092249,612,0004,992,0002,371,584
9Jul 29, 2022 16:247,735277,892,769252,239,0003,002,0002,506,752
10Jul 29, 2022 16:247,752280,257,805249,810,0005,995,0002,273,280
11Jul 29, 2022 16:247,762274,338,497251,135,0005,002,0002,392,064
12Jul 29, 2022 16:247,786284,951,623250,942,0005,998,0002,375,680