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 12, 2026 03:56Josu San MartinJosu San MartinScore: 4,341Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 12, 2026 03:394,323174,007,708139,666,0002,992,0002,400,256
2Jan 12, 2026 03:394,323169,848,383140,667,0001,995,0002,289,664
3Jan 12, 2026 03:394,325172,395,862140,731,0001,996,0002,392,064
4Jan 12, 2026 03:394,325167,693,059141,739,000998,0002,289,664
5Jan 12, 2026 03:394,326164,688,755140,755,0001,996,0002,289,664
6Jan 12, 2026 03:394,328165,047,848140,832,0001,997,0002,404,352
7Jan 12, 2026 03:394,338170,024,489142,144,0001,001,0002,400,256
8Jan 12, 2026 03:394,341166,728,521140,254,0003,005,0002,281,472
9Jan 12, 2026 03:394,351172,110,694140,591,0002,991,0002,289,664
10Jan 12, 2026 03:564,357166,599,602142,774,000998,0002,289,664
11Jan 12, 2026 03:564,357170,179,142141,792,0001,997,0002,289,664
12Jan 12, 2026 03:564,358170,240,211139,819,0003,994,0002,289,664
13Jan 12, 2026 03:564,528175,950,589148,424,0001,002,0002,289,664
14Jan 12, 2026 03:564,539174,914,220145,790,0003,994,0002,396,160
15Jan 12, 2026 03:564,541172,802,368147,844,0001,997,0002,289,664