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 19, 2025 09:58SherzodSherzodScore: 279,535Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2025 09:58276,9139,163,832,4448,985,224,000152,901,0002,498,560
2Jun 19, 2025 09:58277,2299,179,900,3889,007,613,000140,931,0002,473,984
3Jun 19, 2025 09:58278,2819,213,903,7019,024,360,000158,900,0002,473,984
4Jun 19, 2025 09:58278,5509,221,307,1589,039,232,000152,919,0002,416,640
5Jun 19, 2025 09:58279,5359,252,403,5959,081,732,000142,917,0002,400,256
6Jun 19, 2025 09:58279,8439,264,331,5709,094,887,000139,921,0002,510,848
7Jun 19, 2025 09:58280,4709,285,479,2559,120,616,000134,905,0002,465,792
8Jun 19, 2025 09:58281,6609,327,739,4099,145,867,000148,900,0002,404,352
9Jun 19, 2025 09:58293,4009,741,849,6729,537,318,000144,883,0002,457,600