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 listMar 6, 2026 23:33Pavel SamyginPavel SamyginError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 20:53Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 21:060447,063,743418,379,00019,443,00016,384No answer to stdout. Died or killed?
2Oct 15, 2026 21:0636520,859,3074,206,0007,853,0002,117,632
3Oct 15, 2026 21:061,04345,173,29315,053,00019,382,0002,117,632
4Mar 6, 2026 23:2314,117492,177,122443,930,00021,947,0002,547,712
5Mar 6, 2026 23:2314,239495,595,559449,839,00020,037,0002,490,368
6Mar 6, 2026 23:3314,271497,599,509452,935,00017,997,0002,404,352
7Mar 6, 2026 23:2914,279496,768,560449,289,00021,916,0002,371,584
8Mar 6, 2026 23:2314,358500,667,888455,832,00017,993,0002,314,240
9Mar 6, 2026 23:2314,540503,856,044458,828,00020,992,0002,383,872
10Mar 6, 2026 23:2314,564507,634,283456,640,00023,981,0002,289,664
11Mar 6, 2026 23:2314,580509,483,500459,176,00021,960,0002,383,872
12Mar 6, 2026 23:2914,629510,740,251461,767,00020,989,0002,297,856
13Mar 6, 2026 23:2314,642512,205,979462,169,00021,007,0002,539,520
14Mar 6, 2026 23:2314,682509,977,922464,518,00019,979,0002,297,856
15Mar 6, 2026 23:3314,682511,053,734461,519,00022,976,0002,363,392
16Mar 6, 2026 23:2914,688513,681,615459,711,00024,984,0002,297,856
17Mar 6, 2026 23:3314,737517,946,123465,353,00020,970,0002,289,664
18Mar 6, 2026 23:2314,825522,040,808464,276,00024,961,0002,314,240