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 listJan 7, 2026 19:58Aman | अमनAman | अमनScore: 193,852Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 7, 2026 19:58192,0106,367,792,3936,252,389,00083,951,0002,519,040
2Jan 7, 2026 19:58192,5606,384,479,1836,264,543,00089,950,0002,519,040
3Jan 7, 2026 19:58193,3286,410,726,4846,291,894,00087,942,0002,519,040
4Jan 7, 2026 19:58193,4406,414,708,9886,286,575,00096,947,0002,510,848
5Jan 7, 2026 19:58193,8526,428,465,3586,309,163,00087,946,0002,277,376
6Jan 7, 2026 19:58194,3176,445,681,0086,327,519,00084,953,0002,351,104
7Jan 7, 2026 19:58195,6866,488,639,3416,372,695,00084,942,0002,510,848
8Jan 7, 2026 19:58195,9916,499,455,9916,371,771,00095,936,0002,519,040
9Jan 7, 2026 19:58196,1496,502,581,6126,383,969,00088,943,0002,510,848