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 listApr 24, 2025 21:56Dmitry YudakovDmitry YudakovScore: 179,064Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 21:56176,7465,863,033,1955,806,640,00025,984,0002,400,256
2Apr 24, 2025 21:56178,1195,915,115,6725,852,932,00024,982,0002,383,872
3Apr 24, 2025 21:56178,4635,921,705,8235,863,280,00025,983,0002,412,544
4Apr 24, 2025 21:56178,9365,935,786,9655,882,906,00021,988,0002,330,624
5Apr 24, 2025 21:56179,0645,938,935,8865,887,112,00021,985,0002,527,232
6Apr 24, 2025 21:56179,7605,962,612,2325,910,098,00021,985,0002,433,024
7Apr 24, 2025 21:56180,9976,010,187,2915,943,921,00028,980,0002,314,240
8Apr 24, 2025 21:56185,1566,140,261,0496,081,170,00028,981,0002,355,200
9Apr 24, 2025 21:56187,8946,231,841,1466,169,526,00030,977,0002,424,832