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 15, 2024 23:47Joad NacerJoad NacerScore: 6,051Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 23:475,757255,228,226189,967,41702,228,224
2Jun 15, 2024 23:475,786272,572,442190,943,68902,211,840
3Jun 15, 2024 23:475,879254,422,270194,006,00802,363,392
4Jun 15, 2024 23:475,982220,292,706174,467,00022,930,0002,363,392
5Jun 15, 2024 23:475,992220,488,213174,772,00022,970,0002,396,160
6Jun 15, 2024 23:476,003218,813,075174,092,00024,012,0002,363,392
7Jun 15, 2024 23:476,051228,419,842177,718,00021,965,0002,387,968
8Jun 15, 2024 23:476,064236,343,753177,091,00023,011,0002,392,064
9Jun 15, 2024 23:476,080225,722,981173,683,00026,950,0002,396,160
10Jun 15, 2024 23:476,084223,464,404176,797,00023,972,0002,359,296
11Jun 15, 2024 23:476,098230,067,352177,212,00024,028,0002,396,160
12Jun 15, 2024 23:476,105226,592,761177,539,00023,937,0002,363,392