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 9, 2026 01:28zielajzielajScore: 3,136Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 9, 2026 02:023,050125,324,01299,634,0001,006,0002,428,928
2Jan 9, 2026 01:123,060129,596,61098,978,0001,999,0002,416,640
3Jan 9, 2026 02:023,060125,198,85198,982,0001,999,0002,273,280
4Jan 9, 2026 02:023,069123,840,79699,279,0002,005,0002,535,424
5Jan 9, 2026 01:283,085127,316,944100,804,000998,0002,273,280
6Jan 9, 2026 01:403,085128,039,194100,809,000998,0002,424,832
7Jan 9, 2026 01:143,104122,016,142100,412,0002,008,0002,273,280
8Jan 9, 2026 01:483,105122,059,684100,472,0002,009,0002,273,280
9Jan 9, 2026 01:403,105120,818,566100,442,0002,008,0002,510,848
10Jan 9, 2026 01:143,111132,573,772101,662,0001,006,0002,420,736
11Jan 9, 2026 01:123,118123,057,07099,897,0002,996,0002,412,544
12Jan 9, 2026 01:483,133122,219,839101,381,0002,007,0002,273,280
13Jan 9, 2026 01:143,136123,796,703103,481,00002,535,424
14Jan 9, 2026 02:023,146126,611,664101,809,0001,996,0002,535,424
15Jan 9, 2026 02:023,146132,483,309101,810,0001,996,0002,412,544
16Jan 9, 2026 02:023,153126,138,134102,058,0002,001,0002,420,736
17Jan 9, 2026 01:283,168128,627,415103,540,0001,005,0002,441,216
18Jan 9, 2026 02:023,169131,323,610103,566,0001,005,0002,416,640
19Jan 9, 2026 02:023,175129,098,915102,791,0001,995,0002,416,640
20Jan 9, 2026 01:403,182126,720,683103,992,000999,0002,535,424
21Jan 9, 2026 01:283,196132,717,291104,450,0001,004,0002,273,280
22Jan 9, 2026 01:483,222125,887,772104,307,0002,005,0002,412,544
23Jan 9, 2026 01:123,232130,323,963105,635,0001,006,0002,416,640
24Jan 9, 2026 02:023,351143,225,220109,567,0001,005,0002,273,280