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 22:29Andrew EpsteinAndrew EpsteinScore: 26,458Success
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 22:3126,264877,746,514861,431,0005,283,0002,121,728stderr
2Oct 30, 2026 22:3126,359880,910,390864,617,0005,244,0002,121,728stderr
3Oct 30, 2026 22:3126,364880,988,888864,761,0005,263,0002,121,728stderr
4Oct 30, 2026 22:3126,448883,850,413867,511,0005,300,0002,121,728stderr
5Oct 30, 2026 22:3126,458884,168,807867,832,0005,299,0002,121,728stderr
6Oct 30, 2026 22:3126,534886,626,806870,361,0005,289,0002,121,728stderr
7Oct 30, 2026 22:3126,551888,959,305870,889,0005,317,0002,121,728stderr
8Oct 30, 2026 22:3126,605889,051,597872,759,0005,223,0002,121,728stderr
9Oct 30, 2026 22:3126,644890,798,006873,925,0005,349,0002,121,728stderr