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 05:06Robert BurkeRobert BurkeScore: 16,625Success
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 05:0616,502566,445,597512,591,00031,974,0002,387,968
2Jul 29, 2022 05:0616,528616,584,643545,438,44002,199,552
3Jul 29, 2022 05:0616,540599,400,166545,806,57902,191,360
4Jul 29, 2022 05:0616,570567,397,596517,807,00028,989,0002,289,664
5Jul 29, 2022 05:0616,599567,900,894516,778,00030,986,0002,387,968
6Jul 29, 2022 05:0616,612571,074,159517,171,00031,010,0002,301,952
7Jul 29, 2022 05:0616,625569,470,750516,648,00031,978,0002,301,952
8Jul 29, 2022 05:0616,669611,887,108550,063,42002,195,456
9Jul 29, 2022 05:0616,702572,250,258520,143,00031,008,0002,297,856
10Jul 29, 2022 05:0616,743582,189,866523,547,00028,974,0002,273,280
11Jul 29, 2022 05:0616,743573,639,005524,555,00027,976,0002,297,856
12Jul 29, 2022 05:0616,794590,996,938533,205,00021,008,0002,297,856