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 22, 2024 23:28Joad NacerJoad NacerError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 22, 2024 23:3500000Error: expected "1025222 ", got "1025221 "
2Jun 22, 2024 23:284,754224,026,740156,888,29202,220,032
3Jun 22, 2024 23:284,776221,796,401157,620,46102,211,840
4Jun 22, 2024 23:284,897229,329,240161,588,25302,342,912
5Jun 22, 2024 23:285,278201,542,272151,145,00023,022,0002,355,200
6Jun 22, 2024 23:285,351204,698,942150,638,00025,937,0002,359,296
7Jun 22, 2024 23:285,383201,666,854152,702,00024,951,0002,404,352
8Jun 22, 2024 23:285,415205,040,798154,727,00023,957,0002,363,392
9Jun 22, 2024 23:285,418206,140,903154,821,00023,972,0002,404,352
10Jun 22, 2024 23:285,442203,932,137157,628,00021,948,0002,363,392
11Jun 22, 2024 23:285,498203,571,125157,386,00024,059,0002,363,392
12Jun 22, 2024 23:285,503206,097,359153,672,00027,940,0002,400,256
13Jun 22, 2024 23:285,655215,213,147161,681,00024,950,0002,367,488