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 listNov 20, 2024 13:01KrishanKrishanScore: 269,543Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 20, 2024 13:01268,1328,876,976,6338,761,425,00086,944,0002,494,464
2Nov 20, 2024 13:01269,0498,906,714,7398,795,670,00082,949,0002,277,376
3Nov 20, 2024 13:01269,1898,918,489,7878,794,272,00088,952,0002,330,624
4Nov 20, 2024 13:01269,4408,926,414,6028,797,565,00093,941,0002,326,528
5Nov 20, 2024 13:01269,5438,929,475,1008,795,968,00098,943,0002,494,464
6Nov 20, 2024 13:01269,9208,938,070,7258,816,419,00090,942,0002,338,816
7Nov 20, 2024 13:01270,4418,959,251,7658,825,600,00098,939,0002,486,272
8Nov 20, 2024 13:01270,7018,964,607,1468,840,195,00092,938,0002,510,848
9Nov 20, 2024 13:01271,2448,985,657,5178,842,121,000108,927,0002,494,464