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 listDec 13, 2025 18:09Rajarshi BasuRajarshi BasuScore: 8,364Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 13, 2025 18:098,322303,424,105265,626,0008,987,0002,502,656
2Dec 13, 2025 18:098,323307,250,458267,656,0006,991,0002,334,720
3Dec 13, 2025 18:098,331301,043,581265,928,0008,997,0002,486,272
4Dec 13, 2025 18:098,343303,945,722268,297,0007,007,0002,519,040
5Dec 13, 2025 18:098,348307,017,760267,486,0007,984,0002,506,752
6Dec 13, 2025 18:098,349309,685,115265,521,0009,982,0002,498,560
7Dec 13, 2025 18:098,350302,533,381266,562,0008,985,0002,375,680
8Dec 13, 2025 18:098,350305,001,900265,580,0009,984,0002,502,656
9Dec 13, 2025 18:098,351303,974,361267,582,0007,987,0002,506,752
10Dec 13, 2025 18:098,351301,435,203264,592,00010,983,0002,453,504
11Dec 13, 2025 18:098,353304,981,611267,668,0007,990,0002,355,200
12Dec 13, 2025 18:098,357307,547,957266,779,0008,992,0002,441,216
13Dec 13, 2025 18:098,358300,477,104269,809,0005,995,0002,273,280
14Dec 13, 2025 18:098,358308,139,147264,826,00010,992,0002,351,104
15Dec 13, 2025 18:098,359299,644,446265,848,0009,994,0002,510,848
16Dec 13, 2025 18:098,360302,115,826266,878,0008,995,0002,519,040
17Dec 13, 2025 18:098,362307,760,247268,953,0006,998,0002,506,752
18Dec 13, 2025 18:098,362306,947,119265,951,0009,998,0002,482,176
19Dec 13, 2025 18:098,364302,503,528266,010,00010,000,0002,285,568
20Dec 13, 2025 18:098,367302,133,007265,093,00011,003,0002,269,184
21Dec 13, 2025 18:098,368302,030,317267,137,0009,004,0002,498,560
22Dec 13, 2025 18:098,368304,439,332269,131,0007,003,0002,359,296
23Dec 13, 2025 18:098,369300,798,961267,185,0009,006,0002,510,848
24Dec 13, 2025 18:098,369301,993,536267,178,0009,006,0002,498,560
25Dec 13, 2025 18:098,378300,411,945265,482,00010,978,0002,363,392
26Dec 13, 2025 18:098,379306,149,420268,530,0007,986,0002,506,752
27Dec 13, 2025 18:098,380305,269,721265,570,00010,982,0002,387,968
28Dec 13, 2025 18:098,380300,655,908266,553,0009,983,0002,510,848
29Dec 13, 2025 18:098,381306,779,904268,592,0007,987,0002,506,752
30Dec 13, 2025 18:098,383305,845,908269,657,0006,991,0002,506,752
31Dec 13, 2025 18:098,391301,184,431265,906,00010,996,0002,392,064
32Dec 13, 2025 18:098,392303,053,629267,940,0008,997,0002,359,296
33Dec 13, 2025 18:098,415301,355,276269,711,0007,991,0002,506,752
34Dec 13, 2025 18:098,421302,535,263268,898,0008,996,0002,502,656
35Dec 13, 2025 18:098,453310,759,651270,947,0007,998,0002,510,848
36Dec 13, 2025 18:098,495306,271,037266,378,00013,967,0002,510,848