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 listJan 1, 2026 19:45zielajzielajScore: 3,506Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2026 23:573,398133,841,598111,140,0001,001,0002,531,328
2Jan 1, 2026 19:453,438137,243,063111,456,0002,008,0002,506,752
3Jan 1, 2026 23:493,452142,738,467112,914,000999,0002,416,640
4Jan 1, 2026 23:493,458135,584,439112,113,0002,002,0002,273,280
5Jan 2, 2026 00:063,463136,043,152112,287,0002,005,0002,416,640
6Jan 2, 2026 08:403,477137,990,336112,751,0001,995,0002,416,640
7Jan 1, 2026 23:493,478136,208,218112,793,0001,996,0002,412,544
8Jan 1, 2026 23:063,480140,525,993111,854,0002,996,0002,420,736
9Jan 1, 2026 23:573,489139,475,459114,145,0001,001,0002,412,544
10Jan 2, 2026 08:403,506144,085,451113,716,0001,995,0002,416,640
11Jan 2, 2026 08:403,511144,452,710113,879,0001,997,0002,420,736
12Jan 1, 2026 23:063,525137,785,903115,321,0001,002,0002,420,736
13Jan 2, 2026 00:063,536140,447,648115,684,000997,0002,416,640
14Jan 1, 2026 19:453,543136,991,918114,914,0001,998,0002,506,752
15Jan 1, 2026 23:573,544142,397,207114,942,0001,998,0002,412,544
16Jan 2, 2026 00:063,550139,902,381115,148,0002,002,0002,273,280
17Jan 1, 2026 23:063,690150,914,593119,778,0001,996,0002,412,544
18Jan 1, 2026 19:453,761146,143,310122,126,0002,002,0002,420,736