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 23, 2026 19:15chereshnya123chereshnya123Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 23, 2026 19:1502,444,940,4062,389,932,00045,028,0002,113,536expected "1024824 ", got "1029670"
2Jun 23, 2026 19:1502,446,376,7012,392,277,00044,330,0002,113,536expected "1019428 ", got "1024151"
3Jun 23, 2026 19:1502,460,594,8772,405,818,00044,706,0002,113,536expected "1019953 ", got "1024637"