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 14:14anboto1anboto1Error
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 14:150192,092,865173,599,0009,307,0002,117,632expected "1025448 ", got "1025447 "
2Jun 8, 2026 14:155,441188,802,444170,350,0009,208,0002,117,632
3Jun 8, 2026 14:155,442188,847,484170,426,0009,166,0002,117,632
4Jun 8, 2026 14:155,447189,167,333171,403,0008,369,0002,117,632
5Jun 8, 2026 14:155,484190,632,502171,762,0009,234,0002,117,632
6Jun 8, 2026 14:155,490190,777,724172,933,0008,263,0002,117,632
7Jun 8, 2026 14:155,494190,946,751172,077,0009,239,0002,117,632
8Jun 8, 2026 14:155,513191,543,814172,691,0009,270,0002,117,632
9Jun 8, 2026 14:155,566193,339,531174,364,0009,317,0002,117,632