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 09:05Rajarshi BasuRajarshi BasuScore: 7,767Success
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 09:047,626276,746,337242,669,0008,987,0002,519,040
2Dec 19, 2025 09:057,642282,248,373243,182,0009,006,0002,322,432
3Dec 19, 2025 09:047,646280,043,908246,315,0006,007,0002,301,952
4Dec 19, 2025 09:057,726285,792,090248,975,0005,999,0002,383,872
5Dec 19, 2025 09:057,745279,043,021247,593,0007,986,0002,469,888
6Dec 19, 2025 09:047,758283,364,187250,025,0006,000,0002,486,272
7Dec 19, 2025 09:057,767283,570,655248,309,0008,009,0002,330,624
8Dec 19, 2025 09:057,813283,046,169249,828,0007,994,0002,322,432
9Dec 19, 2025 09:057,814281,678,440250,857,0006,996,0002,469,888
10Dec 19, 2025 09:057,816280,896,750250,931,0006,998,0002,314,240
11Dec 19, 2025 09:057,818279,076,692249,984,0007,999,0002,420,736
12Dec 19, 2025 09:058,235299,937,220263,768,0007,992,0002,523,136