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 listSep 4, 2026 10:07Victor MerckléVictor MerckléScore: 2,900Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 10:122,858102,837,52592,278,0002,057,0002,117,632stderr
2Sep 4, 2026 10:122,873103,303,68592,753,0002,061,0002,117,632stderr
3Sep 4, 2026 10:122,876103,350,19392,785,0002,143,0002,117,632stderr
4Sep 4, 2026 10:122,899104,113,64593,602,0002,081,0002,117,632stderr
5Sep 4, 2026 10:122,900104,153,98693,637,0002,091,0002,117,632stderr
6Sep 4, 2026 10:122,905105,547,09593,734,0002,136,0002,117,632stderr
7Sep 4, 2026 10:122,908104,392,52393,897,0002,093,0002,117,632stderr
8Sep 4, 2026 10:122,912104,333,44194,019,0002,106,0002,117,632stderr
9Sep 4, 2026 10:122,930105,160,71194,594,0002,098,0002,117,632stderr