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 4, 2026 04:33zielajzielajScore: 3,158Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2026 16:483,068123,170,03199,244,0002,004,0002,535,424
2Jan 3, 2026 16:513,068125,454,30498,225,0003,006,0002,387,968
3Jan 3, 2026 16:533,073128,259,76299,417,0002,008,0002,273,280
4Jan 3, 2026 16:483,080124,695,898100,627,0001,006,0002,420,736
5Jan 3, 2026 16:533,097122,189,316101,184,0001,001,0002,416,640
6Jan 3, 2026 16:533,105125,009,546101,473,0001,004,0002,535,424
7Jan 4, 2026 04:333,114126,661,06799,783,0002,993,0002,416,640
8Jan 3, 2026 16:533,117122,295,37299,867,0002,996,0002,408,448
9Jan 3, 2026 16:533,122125,563,103101,032,0002,000,0002,498,560
10Jan 3, 2026 16:513,131131,277,756102,312,0001,003,0002,273,280
11Jan 3, 2026 16:513,145130,100,970101,785,0001,995,0002,412,544
12Jan 3, 2026 16:483,146128,788,381101,829,0001,996,0002,424,832
13Jan 3, 2026 16:513,158123,116,748102,221,0002,004,0002,535,424
14Jan 3, 2026 16:483,158123,876,262102,203,0002,003,0002,416,640
15Jan 3, 2026 16:533,180127,095,127100,953,0003,998,0002,535,424
16Jan 3, 2026 16:483,186128,092,043102,129,0003,003,0002,535,424
17Jan 3, 2026 16:513,198135,417,610102,510,0003,015,0002,535,424
18Jan 3, 2026 16:483,205131,804,257103,779,0001,995,0002,416,640
19Jan 4, 2026 04:333,206131,944,792104,811,000998,0002,273,280
20Jan 4, 2026 04:333,225129,951,744104,418,0002,008,0002,273,280
21Jan 3, 2026 16:483,239130,527,207105,882,000998,0002,535,424
22Jan 3, 2026 16:513,240132,278,460105,933,000999,0002,416,640
23Jan 3, 2026 16:533,250129,819,775105,251,0002,004,0002,506,752
24Jan 3, 2026 16:483,281139,443,381106,274,0002,005,0002,535,424
25Jan 3, 2026 16:483,282128,548,117106,308,0002,005,0002,535,424
26Jan 3, 2026 16:533,371131,285,768109,229,0002,004,0002,416,640
27Jan 3, 2026 16:533,388136,664,331109,811,0001,996,0002,404,352