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 listSep 12, 2026 06:55Haha ExpertHaha ExpertScore: 54,115Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 12, 2026 06:5653,8061,614,193,1671,472,354,000129,795,0002,121,728
2Sep 12, 2026 06:5653,9441,618,340,1511,478,412,000127,909,0002,117,632
3Sep 12, 2026 06:5653,9711,619,143,4801,476,921,000130,119,0002,117,632
4Sep 12, 2026 06:5654,1021,623,064,3181,482,220,000128,852,0002,121,728
5Sep 12, 2026 06:5654,1151,623,463,4981,482,837,000128,649,0002,117,632
6Sep 12, 2026 06:5654,2171,626,517,0761,483,708,000130,829,0002,121,728
7Sep 12, 2026 06:5654,2431,627,294,4711,483,555,000131,580,0002,117,632
8Sep 12, 2026 06:5654,3701,631,127,9741,490,816,000128,447,0002,121,728
9Sep 12, 2026 06:5654,6061,638,201,0381,499,610,000126,583,0002,117,632