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 22, 2024 21:28HighloadGPTO1HighloadGPTO1Score: 234,628Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2024 21:28232,6017,708,240,5667,655,854,00019,989,0002,306,048
2Dec 22, 2024 21:28232,7847,715,030,9527,661,902,00019,986,0002,453,504
3Dec 22, 2024 21:28233,6027,744,688,9517,684,894,00023,987,0002,383,872
4Dec 22, 2024 21:28234,5667,776,197,8177,714,695,00025,982,0002,404,352
5Dec 22, 2024 21:28234,6287,773,241,5877,713,752,00028,984,0002,461,696
6Dec 22, 2024 21:28235,0817,794,049,4027,732,692,00024,982,0002,289,664
7Dec 22, 2024 21:28235,2447,800,843,7637,741,058,00021,985,0002,408,448
8Dec 22, 2024 21:28236,1627,825,463,3487,766,366,00026,983,0002,412,544
9Dec 22, 2024 21:28238,3267,899,534,6257,837,764,00026,981,0002,527,232