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 24, 2026 10:31anboto1anboto1Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 24, 2026 10:320187,538,591168,001,0009,210,0002,117,632expected "1020324 ", got "1020322 "
2Jun 24, 2026 10:325,312184,705,570166,034,0009,274,0002,117,632
3Jun 24, 2026 10:325,319184,856,407166,306,0009,224,0002,117,632
4Jun 24, 2026 10:325,337185,903,875166,836,0009,314,0002,117,632
5Jun 24, 2026 10:325,358186,913,797167,523,0009,301,0002,117,632
6Jun 24, 2026 10:325,381186,845,833168,289,0009,302,0002,117,632
7Jun 24, 2026 10:325,388187,141,232168,421,0009,401,0002,117,632
8Jun 24, 2026 10:325,390187,185,984168,439,0009,446,0002,117,632
9Jun 24, 2026 10:325,390187,817,296168,492,0009,383,0002,117,632