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 28, 2026 10:24Victor MerckléVictor MerckléScore: 3,306Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 28, 2026 10:253,297116,562,509107,679,0001,152,0002,117,632stderr
2Jun 28, 2026 10:253,300116,763,272107,731,0001,183,0002,117,632stderr
3Jun 28, 2026 10:253,303117,052,068107,838,0001,193,0002,117,632stderr
4Jun 28, 2026 10:253,306117,374,153107,933,0001,192,0002,117,632stderr
5Jun 28, 2026 10:253,306117,370,602107,897,0001,207,0002,117,632stderr
6Jun 28, 2026 10:253,317117,647,130108,259,0001,203,0002,117,632stderr
7Jun 28, 2026 10:253,320117,492,692108,444,0001,137,0002,117,632stderr
8Jun 28, 2026 10:253,323117,847,302108,482,0001,193,0002,117,632stderr
9Jun 28, 2026 10:253,360118,725,877109,698,0001,187,0002,117,632stderr