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:10Robert BurkeRobert BurkeScore: 13,003Success
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:1012,587478,364,144415,366,65802,273,280
2Jul 29, 2022 06:1012,638475,683,482417,061,99202,269,184
3Jul 29, 2022 06:1012,809484,712,402422,693,35102,273,280
4Jul 29, 2022 06:1012,867443,224,701422,603,0001,998,0002,281,472
5Jul 29, 2022 06:1012,885447,649,472421,190,0004,001,0002,363,392
6Jul 29, 2022 06:1012,985453,538,362424,510,0003,995,0002,273,280
7Jul 29, 2022 06:1013,003446,446,031426,107,0003,000,0002,531,328
8Jul 29, 2022 06:1013,024455,383,581425,805,0003,998,0002,375,680
9Jul 29, 2022 06:1013,026448,173,943425,858,0003,998,0002,285,568
10Jul 29, 2022 06:1013,066459,036,919429,183,0002,000,0002,338,816
11Jul 29, 2022 06:1013,069457,643,898428,267,0003,001,0002,379,776
12Jul 29, 2022 06:1013,205460,558,228431,767,0003,997,0002,273,280