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 listDec 17, 2022 23:14Franek KortaFranek KortaScore: 16,767Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 17, 2022 23:1416,702575,551,653539,160,00012,003,0002,363,392
2Dec 17, 2022 23:1416,705580,769,726534,271,00017,008,0002,363,392
3Dec 17, 2022 23:1416,714573,683,748538,576,00012,989,0002,510,848
4Dec 17, 2022 23:1416,715574,160,656534,614,00016,987,0002,441,216
5Dec 17, 2022 23:1416,720575,982,226533,770,00017,992,0002,355,200
6Dec 17, 2022 23:1416,727573,043,200535,977,00015,999,0002,363,392
7Dec 17, 2022 23:1416,767575,048,504537,326,00015,979,0002,359,296
8Dec 17, 2022 23:1416,786577,919,460538,948,00014,998,0002,367,488
9Dec 17, 2022 23:1416,803580,516,930539,519,00014,986,0002,502,656
10Dec 17, 2022 23:1417,575645,977,372579,988,12602,269,184
11Dec 17, 2022 23:1417,577642,542,974580,035,72802,277,376
12Dec 17, 2022 23:1417,579639,898,911580,109,84002,269,184