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 08:03Victor MerckléVictor MerckléScore: 72,272Success
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 08:0572,0082,386,919,6792,348,940,00027,328,0002,117,632stderr
2May 11, 2026 08:0572,0572,389,782,6892,350,447,00027,455,0002,117,632stderr
3May 11, 2026 08:0572,0832,387,907,9902,351,794,00026,960,0002,117,632stderr
4May 11, 2026 08:0572,2332,393,366,6052,355,930,00027,779,0002,117,632stderr
5May 11, 2026 08:0572,2722,396,163,3572,356,761,00028,228,0002,117,632stderr
6May 11, 2026 08:0572,9102,414,759,7172,378,517,00027,540,0002,117,632stderr
7May 11, 2026 08:0572,9342,415,776,3902,379,126,00027,722,0002,117,632stderr
8May 11, 2026 08:0572,9812,420,314,8342,380,761,00027,636,0002,117,632stderr
9May 11, 2026 08:0573,5122,447,509,3582,397,481,00028,447,0002,117,632stderr