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 8, 2026 02:33anboto1anboto1Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2026 02:330207,627,085183,318,00015,129,0002,117,632expected "1025709 ", got "1025709 282195804 376365484 2574 169735 2054311 2320176 2308204 2319578 2328641 2312238 2303099 2331365 2319932 2321551 2301173 2305261 2302162 "
2Jun 8, 2026 02:330206,037,163181,606,00015,222,0002,117,632expected "1019283 ", got "1019283 280091932 372314848 2667 170587 2063843 2318613 2326667 2314447 2320891 2318034 2305322 2309341 2307985 2307568 2300184 2314862 2318989 "
3Jun 8, 2026 02:330208,269,270184,157,00014,830,0002,117,632expected "1024307 ", got "1024307 281069284 380618700 2421 169618 2072057 2300401 2312997 2299990 2309626 2323164 2301747 2304190 2339566 2317416 2307053 2318467 2321287 "