Test & Submit Problems
{#if problemData}
{#each problemData as problem}
{ activeProblem = problem; }} id={`problem_${problem.id}`} type="button" class={"tab " + (activeProblem.id == problem.id ? "active" : "")}>{problem.name}
{/each}
{/if} {#if activeProblem}
{activeProblem.name}
Sample Input (You can edit this!)
{activeProblem.sampleInput}
Reset Input
Output
{activeProblem.sampleOutput}
{/if}