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 listSep 24, 2024 12:18Alex KentAlex KentScore: 29,410Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 24, 2024 12:1828,395968,703,344933,030,0004,000,0002,355,200
2Sep 24, 2024 12:1828,642976,796,143939,192,0006,001,0002,457,600
3Sep 24, 2024 12:1829,293995,237,385961,672,0004,998,0002,347,008
4Sep 24, 2024 12:1829,383993,649,068964,653,0004,998,0002,453,504
5Sep 24, 2024 12:1829,410998,246,498966,521,0003,998,0002,400,256
6Sep 24, 2024 12:1829,6401,007,141,524972,133,0005,994,0002,392,064
7Sep 24, 2024 12:1829,8711,006,753,310981,754,0003,999,0002,478,080
8Sep 24, 2024 12:1833,0831,115,433,0821,086,754,0004,998,0002,359,296
9Sep 24, 2024 12:1833,1621,117,877,9551,091,333,0002,998,0002,363,392