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 6, 2026 02:25zielajzielajScore: 3,193Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 4, 2026 23:403,050127,489,271100,647,00002,535,424
2Jan 4, 2026 23:373,079128,731,465101,603,00002,535,424
3Jan 4, 2026 23:403,088124,893,29599,903,0001,998,0002,416,640
4Jan 4, 2026 23:403,092126,391,274100,028,0002,000,0002,420,736
5Jan 4, 2026 23:373,100128,985,765100,293,0002,005,0002,531,328
6Jan 7, 2026 02:133,120128,130,369101,972,000999,0002,273,280
7Jan 4, 2026 23:403,152126,664,400103,009,0001,000,0002,420,736
8Jan 4, 2026 23:403,156125,448,419101,146,0003,004,0002,404,352
9Jan 4, 2026 23:373,157126,516,613102,175,0002,003,0002,535,424
10Jan 4, 2026 23:403,159129,054,992103,230,0001,002,0002,408,448
11Jan 4, 2026 23:403,174128,954,685102,744,0001,995,0002,535,424
12Jan 7, 2026 18:513,187128,021,440103,181,0002,003,0002,416,640
13Jan 7, 2026 02:133,193130,216,051103,349,0002,006,0002,416,640
14Jan 4, 2026 23:403,201128,714,682104,630,0001,006,0002,416,640
15Jan 7, 2026 03:503,210131,264,591102,920,0002,997,0002,416,640
16Jan 4, 2026 23:403,211129,782,168103,949,0001,999,0002,531,328
17Jan 7, 2026 03:503,221127,365,498105,296,0001,002,0002,535,424
18Jan 7, 2026 18:513,224125,808,927104,389,0002,007,0002,420,736
19Jan 7, 2026 02:133,278133,942,830105,158,0003,004,0002,412,544
20Jan 7, 2026 18:513,288137,311,724105,481,0003,013,0002,416,640
21Jan 7, 2026 03:503,327138,571,777107,788,0001,996,0002,416,640
22Jan 6, 2026 02:253,474143,498,572111,636,0002,990,0002,535,424
23Jan 6, 2026 02:253,852153,966,736123,100,0004,003,0002,412,544
24Jan 6, 2026 02:254,184158,768,169137,058,0001,000,0002,416,640