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 listMay 11, 2026 06:51Victor MerckléVictor MerckléScore: 59,314Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2026 06:5259,0521,959,844,3971,924,496,00024,237,0002,117,632stderr
2May 11, 2026 06:5259,0641,958,130,3201,925,002,00024,139,0002,117,632stderr
3May 11, 2026 06:5259,1751,963,521,5561,928,879,00023,919,0002,117,632stderr
4May 11, 2026 06:5259,2171,964,648,7171,930,068,00024,117,0002,117,632stderr
5May 11, 2026 06:5259,3141,967,791,8661,933,079,00024,296,0002,117,632stderr
6May 11, 2026 06:5259,7211,980,878,7331,946,923,00023,886,0002,117,632stderr
7May 11, 2026 06:5260,0071,989,267,9701,955,283,00024,948,0002,117,632stderr
8May 11, 2026 06:5261,1552,028,864,0531,994,014,00024,125,0002,117,632stderr
9May 11, 2026 06:5289,9642,979,533,2082,944,748,00024,088,0002,117,632stderr