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 06:30Robert BurkeRobert BurkeScore: 7,568Success
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 06:307,096288,329,257234,169,06802,281,472
2Jul 29, 2022 06:307,104283,388,226234,439,19302,273,280
3Jul 29, 2022 06:307,165300,376,370236,440,24002,273,280
4Jul 29, 2022 06:307,550272,413,720246,143,0003,001,0002,273,280
5Jul 29, 2022 06:307,563273,058,772244,578,0004,991,0002,453,504
6Jul 29, 2022 06:307,567272,146,521245,704,0003,995,0002,502,656
7Jul 29, 2022 06:307,568274,426,761244,737,0004,994,0002,502,656
8Jul 29, 2022 06:307,575269,106,366245,974,0003,999,0002,527,232
9Jul 29, 2022 06:307,582273,455,991246,204,0004,003,0002,371,584
10Jul 29, 2022 06:307,608276,579,342247,056,0004,000,0002,375,680
11Jul 29, 2022 06:307,612269,090,305246,189,0005,003,0002,367,488
12Jul 29, 2022 06:307,623273,616,729246,560,0004,991,0002,371,584