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 listJul 26, 2024 21:26Andrey LikhachevAndrey LikhachevScore: 42,285Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 21:1342,0501,450,764,2561,387,642,42802,252,800
2Jul 26, 2024 21:2642,0671,468,873,1371,388,225,18802,248,704
3Jul 26, 2024 21:1342,0861,457,711,5091,388,838,48402,256,896
4Jul 26, 2024 21:2642,2851,473,825,7971,395,421,25802,252,800
5Jul 26, 2024 21:1342,3191,461,616,9161,396,530,18002,248,704
6Jul 26, 2024 21:2642,3221,453,845,9851,396,623,77602,248,704