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 17:28chereshnya123chereshnya123Error
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 17:2902,834,917,3992,781,489,00043,287,0002,113,536expected "1022583 ", got "1027525"
2Jun 24, 2026 17:2902,846,426,2922,792,137,00044,756,0002,113,536expected "1022144 ", got "1026731"
3Jun 24, 2026 17:2902,859,816,5872,804,203,00045,905,0002,113,536expected "1019063 ", got "1023614"