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 listJun 25, 2024 21:05Joad NacerJoad NacerScore: 5,436Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 25, 2024 21:054,793212,237,883158,170,53602,207,744
2Jun 25, 2024 21:054,825218,539,914159,209,54102,207,744
3Jun 25, 2024 21:054,964224,286,297163,822,62302,199,552
4Jun 25, 2024 21:055,328201,331,194149,850,00025,974,0002,396,160
5Jun 25, 2024 21:055,395201,436,753155,023,00023,003,0002,330,624
6Jun 25, 2024 21:055,412206,802,387152,668,00025,943,0002,334,720
7Jun 25, 2024 21:055,436210,815,328152,488,00026,909,0002,396,160
8Jun 25, 2024 21:055,462208,462,480154,223,00026,037,0002,396,160
9Jun 25, 2024 21:055,472204,719,285154,638,00025,939,0002,408,448
10Jun 25, 2024 21:055,477208,547,027157,762,00022,965,0002,338,816
11Jun 25, 2024 21:055,534204,755,233157,687,00024,950,0002,400,256
12Jun 25, 2024 21:055,564209,259,124159,661,00023,949,0002,387,968