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 listMar 6, 2026 19:11Pavel SamyginPavel SamyginScore: 66,462Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 6, 2026 19:1161,9212,226,006,8531,683,154,000360,250,0002,531,328
2Mar 6, 2026 19:1162,0832,201,733,4111,719,733,000328,992,0002,469,888
3Mar 6, 2026 19:1162,2212,199,317,7761,687,553,000365,735,0002,330,624
4Mar 6, 2026 19:1162,4602,321,576,0091,692,230,000368,959,0002,535,424
5Mar 6, 2026 19:1166,4623,763,130,4031,707,792,000485,469,0002,433,024
6Mar 6, 2026 19:1166,9643,896,405,5681,689,144,000520,668,0002,277,376
7Mar 6, 2026 19:1167,3303,739,638,3071,674,683,000547,203,0002,412,544
8Mar 6, 2026 19:1168,4894,659,765,9511,704,569,000555,578,0002,371,584
9Mar 6, 2026 19:1175,7257,697,868,0511,728,031,000770,906,0002,555,904