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 26, 2025 20:50zielajzielajScore: 3,726Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 26, 2025 20:373,697148,972,746110,007,00012,000,0002,314,240
2Dec 26, 2025 20:373,701145,121,758111,127,00011,012,0002,301,952
3Dec 26, 2025 20:373,705141,919,824111,231,00011,022,0002,445,312
4Dec 26, 2025 20:503,706144,715,197114,284,0008,019,0002,531,328
5Dec 26, 2025 20:373,711147,320,839113,425,0009,033,0002,408,448
6Dec 26, 2025 20:353,718144,636,450109,737,00012,968,0002,420,736
7Dec 26, 2025 20:363,718145,530,052114,719,0007,980,0002,330,624
8Dec 26, 2025 20:383,721144,920,343113,815,0008,985,0002,379,776
9Dec 26, 2025 20:383,723145,255,580109,880,00012,985,0002,379,776
10Dec 26, 2025 20:353,726144,576,925107,950,00014,993,0002,428,928
11Dec 26, 2025 20:373,726148,811,755110,949,00011,994,0002,396,160
12Dec 26, 2025 20:363,727153,586,825110,997,00011,999,0002,387,968
13Dec 26, 2025 20:373,730144,903,517111,074,00012,008,0002,371,584
14Dec 26, 2025 20:503,734147,092,807108,207,00015,028,0002,383,872
15Dec 26, 2025 20:373,735152,117,470110,214,00013,025,0002,473,984
16Dec 26, 2025 20:373,739150,040,963112,345,00011,033,0002,437,120
17Dec 26, 2025 20:383,739145,289,750112,358,00011,035,0002,396,160
18Dec 26, 2025 20:503,768151,263,901116,323,0008,022,0002,273,280
19Dec 26, 2025 20:373,791150,503,570117,086,0008,005,0002,461,696
20Dec 26, 2025 20:363,799152,543,947118,356,0007,021,0002,314,240
21Dec 26, 2025 20:353,825149,363,109115,200,00011,019,0002,379,776