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 listJun 8, 2026 03:55anboto1anboto1Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2026 03:560191,360,612172,118,0009,964,0002,117,632expected "1022685 ", got "1022684 "
2Jun 8, 2026 03:565,502191,226,076171,954,0009,636,0002,117,632
3Jun 8, 2026 03:565,520191,403,938171,870,00010,291,0002,117,632
4Jun 8, 2026 03:565,529191,717,816172,864,0009,615,0002,117,632
5Jun 8, 2026 03:565,540192,468,422173,185,0009,638,0002,117,632
6Jun 8, 2026 03:565,555192,532,798173,483,0009,839,0002,117,632
7Jun 8, 2026 03:565,558193,167,984173,693,0009,743,0002,117,632
8Jun 8, 2026 03:565,577193,227,559174,235,0009,812,0002,117,632
9Jun 8, 2026 03:565,613194,550,361175,085,00010,154,0002,117,632