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 listSep 4, 2024 14:35Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 31, 2026 16:32Andrew Epstein19.29CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 17:06019,671,1089,247,000020,480No answer to stdout. Died or killed?
2Sep 4, 2024 14:409,123333,000,513296,073,0005,001,0002,363,392
3Sep 4, 2024 14:409,125329,955,650294,115,0007,002,0002,441,216
4Sep 4, 2024 14:359,158332,317,807293,221,0009,006,0002,359,296
5Sep 4, 2024 14:359,172329,281,012294,683,0007,991,0002,297,856
6Sep 4, 2024 14:359,279333,115,115299,215,0007,005,0002,400,256
7Sep 4, 2024 14:409,563346,201,085308,584,0006,990,0002,297,856