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 listMar 6, 2026 21:58Pavel SamyginPavel SamyginScore: 18,802Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 6, 2026 21:5818,572643,745,822593,909,00018,965,0002,281,472
2Mar 6, 2026 21:5818,587642,218,669593,415,00019,946,0002,371,584
3Mar 6, 2026 21:5818,617649,435,298596,394,00017,981,0002,473,984
4Mar 6, 2026 21:5818,721644,182,224596,838,00020,959,0002,371,584
5Mar 6, 2026 21:5818,802642,664,791590,502,00029,974,0002,269,184
6Mar 6, 2026 21:5818,842644,986,992601,792,00019,993,0002,293,760
7Mar 6, 2026 21:5818,876650,916,857601,954,00020,963,0002,330,624
8Mar 6, 2026 21:5818,936653,677,062602,912,00021,960,0002,519,040
9Mar 6, 2026 21:5819,054652,103,630608,794,00019,993,0002,461,696