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 4, 2024 15:14Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 31, 2026 16:33Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 17:19093,897,77677,053,0006,176,00016,384No answer to stdout. Died or killed?
2Sep 4, 2024 15:148,967319,707,717288,920,0006,998,0002,441,216
3Sep 4, 2024 15:148,976319,779,670288,198,0008,005,0002,519,040
4Sep 4, 2024 15:148,988323,836,586288,615,0007,989,0002,367,488
5Sep 4, 2024 15:149,000325,327,961287,987,0008,999,0002,334,720
6Sep 4, 2024 15:149,017322,956,328287,580,0009,985,0002,494,464
7Sep 4, 2024 15:149,018327,291,431289,591,0007,988,0002,523,136
8Sep 4, 2024 15:149,029330,878,457293,959,0003,999,0002,351,104
9Sep 4, 2024 15:149,055326,112,297289,836,0008,994,0002,355,200
10Sep 4, 2024 15:149,206328,641,609296,794,0006,995,0002,355,200