A pandigital sum is an addition equation where the digits 1 to 9 are used exactly once across all numbers in the equation. Your task is to assign each digit exactly once to the nine letters 'A' through 'I' to form three 3-digit numbers: "ABC", "DEF", and "GHI" (where 'A', 'D', and 'G' are the hundreds digits).
Count how many assignments satisfy the equation:
Ask AI Assistant

Ask AI Assistant
Ask me anything about this coding question!
Test Cases
Input
Output
Expected