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 23, 2025 10:06zielajzielajError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 5, 2026 14:23Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 5, 2026 14:23011,686,1051,687,0001,686,0002,121,728expected "16384 ", got "32 "stderr
2Jul 5, 2026 14:23011,553,1921,737,0001,737,0002,121,728expected "16384 ", got "32 "stderr
3Jul 5, 2026 14:23011,070,6381,670,0001,670,0002,121,728expected "16384 ", got "32 "stderr
4Dec 23, 2025 10:064,244159,490,777134,049,0006,002,0002,473,984
5Dec 23, 2025 10:064,248162,816,176132,160,0008,009,0002,392,064
6Dec 23, 2025 10:064,250159,343,565131,248,0009,017,0002,412,544
7Dec 23, 2025 10:064,262166,409,084131,670,0008,977,0002,400,256
8Dec 23, 2025 10:064,263170,653,983126,709,00013,968,0002,408,448
9Dec 23, 2025 10:064,278172,872,363126,146,00015,017,0002,498,560
10Dec 23, 2025 10:064,287170,247,658131,447,00010,034,0002,461,696
11Dec 23, 2025 10:064,305163,651,315131,062,00011,005,0002,428,928
12Dec 23, 2025 10:064,513168,389,540134,935,00013,993,0002,461,696