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 20, 2025 04:20Rajarshi BasuRajarshi BasuScore: 5,846Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 20, 2025 04:215,753218,411,733185,852,0003,996,0002,281,472
2Dec 20, 2025 04:215,781216,333,476185,790,0004,994,0002,502,656
3Dec 20, 2025 04:205,809214,098,066184,702,0006,988,0002,301,952
4Dec 20, 2025 04:215,812216,252,498185,813,0005,993,0002,510,848
5Dec 20, 2025 04:215,822217,726,779188,131,0004,002,0002,510,848
6Dec 20, 2025 04:215,825222,830,480188,234,0004,004,0002,281,472
7Dec 20, 2025 04:205,846219,198,408186,920,0005,997,0002,355,200
8Dec 20, 2025 04:215,846218,480,560187,909,0004,997,0002,494,464
9Dec 20, 2025 04:216,051225,860,717195,680,0003,993,0002,510,848
10Dec 20, 2025 04:216,052227,156,094195,734,0003,994,0002,449,408
11Dec 20, 2025 04:216,073228,157,875194,436,0005,982,0002,478,080
12Dec 20, 2025 04:206,083225,643,659195,761,0004,993,0002,523,136