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:25Robert BurkeRobert BurkeScore: 7,655Success
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:257,055288,821,035232,810,33902,260,992
2Jul 29, 2022 16:257,065289,007,514233,146,10602,277,376
3Jul 29, 2022 16:257,074321,549,745233,450,70602,281,472
4Jul 29, 2022 16:257,605277,391,550245,968,0004,999,0002,367,488
5Jul 29, 2022 16:257,611270,151,541248,150,0003,001,0002,449,408
6Jul 29, 2022 16:257,641278,097,693249,139,0003,001,0002,347,008
7Jul 29, 2022 16:257,655276,891,229249,627,0002,995,0002,367,488
8Jul 29, 2022 16:257,664274,457,377246,911,0005,997,0002,375,680
9Jul 29, 2022 16:257,678283,774,527248,400,0004,987,0002,457,600
10Jul 29, 2022 16:257,682280,603,949249,517,0003,992,0002,314,240
11Jul 29, 2022 16:257,738283,581,214250,336,0005,006,0002,519,040
12Jul 29, 2022 16:257,741278,442,795247,485,0007,983,0002,420,736