Unique strings v2 Sergey Svistunov

Same problem as Unique strings, but with 3 CPUs available and scoring based on wall time instead of CPU time.

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 listJul 8, 2026 02:09Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Nov 3, 2026 00:05Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 3, 2026 00:23052,111,754115,954,0003,631,0002,703,360expected "2102983 ", got "1185145 "
2Nov 3, 2026 00:23044,292,40092,161,0003,192,0002,707,456expected "2107184 ", got "1189020 "
3Nov 3, 2026 00:23044,899,23093,735,0003,178,0002,703,360expected "2104313 ", got "1186421 "
4Jul 8, 2026 02:112,89986,994,755229,449,0003,188,0002,707,456
5Jul 8, 2026 02:112,91587,458,807229,713,0003,124,0002,707,456
6Jul 8, 2026 02:112,97089,110,016231,383,0003,175,0002,707,456
7Jul 8, 2026 02:112,98589,566,861232,277,0003,176,0002,703,360
8Jul 8, 2026 02:112,98889,646,625232,011,0003,130,0002,703,360
9Jul 8, 2026 02:112,98989,698,573232,908,0003,206,0002,703,360
10Jul 8, 2026 02:113,00190,037,786232,355,0003,311,0002,699,264
11Jul 8, 2026 02:113,02090,605,548234,383,0003,170,0002,707,456
12Jul 8, 2026 02:113,04891,450,893233,652,0003,177,0002,699,264