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 04:53Robert BurkeRobert BurkeScore: 15,877Success
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 04:5315,543566,958,615512,918,03102,203,648
2Jul 29, 2022 04:5315,619590,109,558515,437,65502,207,744
3Jul 29, 2022 04:5315,702591,713,608518,180,84802,195,456
4Jul 29, 2022 04:5315,751544,122,077486,793,00032,986,0002,281,472
5Jul 29, 2022 04:5315,804548,815,926487,564,00033,969,0002,301,952
6Jul 29, 2022 04:5315,810546,660,304491,738,00029,984,0002,301,952
7Jul 29, 2022 04:5315,877549,047,116485,942,00037,995,0002,535,424
8Jul 29, 2022 04:5315,899547,657,149494,702,00029,981,0002,293,760
9Jul 29, 2022 04:5315,901548,273,597495,752,00028,985,0002,273,280
10Jul 29, 2022 04:5315,949552,845,047492,288,00034,019,0002,383,872
11Jul 29, 2022 04:5315,954552,294,853498,502,00027,972,0002,301,952
12Jul 29, 2022 04:5316,136560,592,520503,526,00028,972,0002,322,432