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 listOct 30, 2026 23:15Andrew EpsteinAndrew EpsteinScore: 33,170Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 23:1633,0141,100,451,5431,083,191,0006,285,0002,121,728stderr
2Oct 30, 2026 23:1633,0541,101,814,7781,084,478,0006,304,0002,125,824stderr
3Oct 30, 2026 23:1633,0811,102,899,4741,085,368,0006,327,0002,125,824stderr
4Oct 30, 2026 23:1633,1691,105,598,6581,088,299,0006,293,0002,121,728stderr
5Oct 30, 2026 23:1633,1701,105,617,4481,088,320,0006,321,0002,125,824stderr
6Oct 30, 2026 23:1633,2981,109,909,6741,092,543,0006,296,0002,125,824stderr
7Oct 30, 2026 23:1633,4681,115,412,7131,098,090,0006,365,0002,125,824stderr
8Oct 30, 2026 23:1633,6941,122,855,4281,105,533,0006,390,0002,125,824stderr
9Oct 30, 2026 23:1633,7311,124,120,6041,106,914,0006,224,0002,121,728stderr