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:29HighloadGPTO1HighloadGPTO1Score: 112,232Success
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:29111,6693,715,249,5993,659,090,00025,986,0002,342,912
2Dec 22, 2024 21:29111,8123,719,765,8583,662,798,00026,983,0002,482,176
3Dec 22, 2024 21:29111,8463,727,791,1873,657,949,00032,981,0002,334,720
4Dec 22, 2024 21:29112,1303,732,054,4213,676,298,00023,988,0002,330,624
5Dec 22, 2024 21:29112,2323,732,204,7653,674,678,00028,981,0002,338,816
6Dec 22, 2024 21:29113,0393,768,718,4683,700,299,00029,978,0002,334,720
7Dec 22, 2024 21:29113,1583,763,090,9973,706,220,00027,979,0002,277,376
8Dec 22, 2024 21:29113,2593,763,379,2203,705,579,00031,979,0002,510,848
9Dec 22, 2024 21:29113,3653,771,295,1593,719,042,00021,988,0002,338,816