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 03:12anboto1anboto1Error
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 03:130206,077,445182,357,00011,955,0002,117,632expected "1024737 ", got "1024737 280596832 374886252 2757 169687 2069718 2295685 2309661 2314495 2320867 2321447 2307135 2325612 2318877 2299132 2317191 2322149 2305587 "
2Jun 8, 2026 03:130221,947,032194,728,00011,487,0002,117,632expected "1021450 ", got "1021450 284055420 414886976 2595 170388 2075332 2294012 2317562 2283142 2313668 2304288 2306824 2329047 2313650 2324323 2335537 2322104 2307528 "
3Jun 8, 2026 03:130204,366,831183,172,00011,456,0002,117,632expected "1024329 ", got "1024329 284813460 373117264 2588 169495 2079073 2307624 2310076 2310933 2300905 2310894 2314442 2319733 2313169 2323032 2310989 2321326 2305721 "