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 04:35anboto1anboto1Error
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 04:360216,689,007197,280,00010,200,0002,117,632expected "1020894 ", got "1020893 "
2Jun 8, 2026 04:366,264216,410,773197,141,0009,597,0002,117,632
3Jun 8, 2026 04:366,290217,299,103197,895,0009,695,0002,117,632
4Jun 8, 2026 04:366,292216,872,185197,520,00010,142,0002,117,632
5Jun 8, 2026 04:366,292216,902,969197,507,00010,161,0002,117,632
6Jun 8, 2026 04:366,293216,910,884197,529,00010,147,0002,117,632
7Jun 8, 2026 04:366,329218,533,669198,633,00010,236,0002,117,632
8Jun 8, 2026 04:366,331218,312,875199,177,0009,774,0002,117,632
9Jun 8, 2026 04:366,331218,340,167198,772,00010,180,0002,117,632