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 listSep 22, 2026 18:12Matthias GörgensMatthias GörgensScore: 61,802Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 22, 2026 18:1361,4002,039,070,3081,999,225,00026,995,0002,121,728stderr
2Sep 22, 2026 18:1361,4232,037,385,2161,999,923,00027,038,0002,117,632stderr
3Sep 22, 2026 18:1361,5202,041,338,7272,003,295,00026,879,0002,121,728stderr
4Sep 22, 2026 18:1361,6112,043,807,9172,005,860,00027,307,0002,121,728stderr
5Sep 22, 2026 18:1361,8022,050,674,9312,011,711,00027,787,0002,121,728stderr
6Sep 22, 2026 18:1361,9022,053,837,0372,016,483,00026,286,0002,117,632stderr
7Sep 22, 2026 18:1362,0952,059,637,1452,022,926,00026,222,0002,121,728stderr
8Sep 22, 2026 18:1362,4522,072,054,6822,033,908,00027,034,0002,121,728stderr
9Sep 22, 2026 18:1362,7252,080,486,8352,043,682,00026,245,0002,121,728stderr