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 listJun 19, 2024 04:45matsuoka-601matsuoka-601Score: 5,685Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2024 04:455,638211,306,258182,069,0004,001,0002,498,560
2Jun 19, 2024 04:455,645255,283,458186,283,18602,297,856
3Jun 19, 2024 04:455,656214,581,011181,642,0004,990,0002,281,472
4Jun 19, 2024 04:455,660208,992,417182,783,0003,995,0002,408,448
5Jun 19, 2024 04:455,678217,699,331183,367,0004,008,0002,510,848
6Jun 19, 2024 04:455,681214,630,267184,491,0002,991,0002,420,736
7Jun 19, 2024 04:455,685214,068,753183,614,0003,991,0002,523,136
8Jun 19, 2024 04:455,686251,056,147187,637,76702,306,048
9Jun 19, 2024 04:455,703260,551,449188,205,10202,256,896
10Jun 19, 2024 04:455,717211,945,678185,678,0002,994,0002,424,832
11Jun 19, 2024 04:455,730211,818,823185,100,0004,002,0002,281,472
12Jun 19, 2024 04:455,738219,611,421185,340,0004,007,0002,396,160