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 listAug 13, 2026 15:48Tomislav TunkovicTomislav TunkovicError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 21:08Andrew Epstein10.05CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 21:45020,021,856,69420,008,426,0004,294,00016,384Killed by timeout
2Oct 15, 2026 21:4513113,217,67104,355,0002,121,728stderr
3Oct 15, 2026 21:4513913,615,52704,598,0002,121,728stderr
4Aug 13, 2026 15:497,773264,825,350252,297,0004,239,0002,121,728stderr
5Aug 13, 2026 15:497,777265,152,744252,223,0004,444,0002,121,728stderr
6Aug 13, 2026 15:497,778265,126,940252,505,0004,198,0002,121,728stderr
7Aug 13, 2026 15:497,779265,239,013252,424,0004,298,0002,121,728stderr
8Aug 13, 2026 15:497,785265,358,949252,482,0004,431,0002,121,728stderr
9Aug 13, 2026 15:497,789265,283,029252,617,0004,425,0002,121,728stderr
10Aug 13, 2026 15:497,796265,662,558252,892,0004,384,0002,121,728stderr
11Aug 13, 2026 15:497,799265,955,293253,130,0004,269,0002,121,728stderr
12Aug 13, 2026 15:497,803266,065,045253,153,0004,374,0002,121,728stderr