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 29, 2025 19:43zielajzielajScore: 3,653Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 19:473,619147,588,400113,413,0006,021,0002,281,472
2Dec 29, 2025 19:473,620148,211,446113,433,0006,023,0002,531,328
3Dec 29, 2025 19:373,626147,545,832109,700,0009,972,0002,457,600
4Dec 29, 2025 19:473,627145,875,846108,731,00010,972,0002,285,568
5Dec 29, 2025 19:373,630147,291,218108,815,00010,981,0002,285,568
6Dec 29, 2025 19:473,633141,572,719111,890,0007,992,0002,371,584
7Dec 29, 2025 19:473,640149,016,003111,126,0009,010,0002,457,600
8Dec 29, 2025 19:373,645145,197,790115,289,0005,012,0002,539,520
9Dec 29, 2025 19:433,646141,104,102112,285,0008,020,0002,441,216
10Dec 29, 2025 19:373,647139,430,479112,336,0008,024,0002,314,240
11Dec 29, 2025 19:473,653150,517,331113,513,0007,031,0002,363,392
12Dec 29, 2025 19:373,659141,328,380110,768,0009,979,0002,281,472
13Dec 29, 2025 19:433,662144,887,637111,864,0008,989,0002,285,568
14Dec 29, 2025 19:373,676148,749,383114,288,0007,017,0002,285,568
15Dec 29, 2025 19:373,677144,378,542112,330,0009,026,0002,285,568
16Dec 29, 2025 19:373,680145,679,584116,414,0005,017,0002,441,216
17Dec 29, 2025 19:373,683152,647,250113,510,0008,036,0002,371,584
18Dec 29, 2025 19:473,692149,030,069112,842,0008,987,0002,285,568
19Dec 29, 2025 19:473,706147,037,487116,295,0006,015,0002,285,568
20Dec 29, 2025 19:433,740146,422,029116,393,0007,023,0002,285,568
21Dec 29, 2025 19:473,764145,354,772116,198,0008,013,0002,351,104