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 24, 2025 20:23zielajzielajError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 5, 2026 10:35Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 5, 2026 10:36010,966,1811,607,0001,606,0002,121,728expected "16384 ", got "32 "stderr
2Jul 5, 2026 10:36011,030,8621,638,0001,638,0002,121,728expected "16384 ", got "32 "stderr
3Jul 5, 2026 10:36011,064,0081,649,0001,648,0002,121,728expected "16384 ", got "32 "stderr
4Dec 24, 2025 20:193,812151,229,895115,808,0009,983,0002,408,448
5Dec 24, 2025 20:243,816151,117,092116,930,0008,994,0002,424,832
6Dec 24, 2025 20:243,825144,943,698115,211,00011,020,0002,375,680
7Dec 24, 2025 20:193,830151,967,374115,358,00011,034,0002,506,752
8Dec 24, 2025 20:233,839149,871,839118,695,0007,979,0002,482,176
9Dec 24, 2025 20:243,839155,090,751116,707,0009,974,0002,392,064
10Dec 24, 2025 20:233,845162,805,956119,879,0006,992,0002,404,352
11Dec 24, 2025 20:193,868155,767,767117,669,0009,972,0002,461,696
12Dec 24, 2025 20:233,899153,756,577118,704,0009,975,0002,408,448