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 listDec 19, 2025 18:20Rajarshi BasuRajarshi BasuScore: 6,098Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2025 18:206,039224,745,704194,290,0005,007,0002,330,624
2Dec 19, 2025 18:166,046229,851,431193,517,0005,985,0002,510,848
3Dec 19, 2025 18:196,048225,659,966193,581,0005,987,0002,351,104
4Dec 19, 2025 18:196,048231,203,315191,587,0007,982,0002,469,888
5Dec 19, 2025 18:166,049231,611,557193,622,0005,988,0002,330,624
6Dec 19, 2025 18:166,072229,446,523196,376,0004,007,0002,519,040
7Dec 19, 2025 18:206,080224,028,061194,643,0005,989,0002,359,296
8Dec 19, 2025 18:206,098231,906,157196,233,0005,005,0002,441,216
9Dec 19, 2025 18:206,107229,021,341197,546,0003,990,0002,519,040
10Dec 19, 2025 18:166,138224,563,634196,577,0005,987,0002,392,064
11Dec 19, 2025 18:196,148225,126,054195,877,0006,995,0002,514,944
12Dec 19, 2025 18:166,250231,620,193201,238,0005,005,0002,420,736
13Dec 19, 2025 18:206,263233,774,393203,690,0002,995,0002,465,792
14Dec 19, 2025 18:206,323235,528,027204,665,0003,993,0002,498,560
15Dec 19, 2025 18:166,336233,696,941204,098,0005,002,0002,453,504