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 listMay 11, 2026 20:30Pavel SkripkinPavel SkripkinError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2026 20:320451,558,414442,113,0002,006,0002,117,632expected "1020108 ", got "1020110 "
2May 11, 2026 20:3213,083441,006,289429,749,0002,008,0002,117,632
3May 11, 2026 20:3213,215443,488,357433,101,0003,020,0002,117,632
4May 11, 2026 20:3213,661460,170,237448,821,0002,008,0002,117,632
5May 11, 2026 20:3213,807463,086,418452,614,0003,049,0002,117,632
6May 11, 2026 20:3213,876465,306,603454,888,0003,022,0002,117,632
7May 11, 2026 20:3213,893467,985,478456,481,0002,011,0002,117,632
8May 11, 2026 20:3214,315480,636,325469,393,0003,012,0002,117,632
9May 11, 2026 20:3214,536487,049,592476,654,0003,046,0002,117,632