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 15:40anboto1anboto1Error
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 15:400203,633,754185,065,0009,383,0002,117,632expected "1026121 ", got "1026120 "
2Jun 8, 2026 15:405,806201,280,881182,271,0009,354,0002,117,632
3Jun 8, 2026 15:405,807200,944,636182,400,0009,243,0002,117,632
4Jun 8, 2026 15:405,814201,693,524182,450,0009,425,0002,117,632
5Jun 8, 2026 15:405,839202,465,731183,431,0009,273,0002,117,632
6Jun 8, 2026 15:405,847204,878,899183,503,0009,479,0002,117,632
7Jun 8, 2026 15:405,858202,605,823183,925,0009,403,0002,117,632
8Jun 8, 2026 15:405,861203,088,355184,194,0009,243,0002,117,632
9Jun 8, 2026 15:405,867203,362,088184,355,0009,280,0002,117,632