Help me in solving BMCP12 problem

My issue

Getting Expected Output but the status is wrong answer. why?

My code

// Debug the following Code

#include <stdio.h>

int main() {
    int t;
    scanf("%d", &t);

    while (t--) {
        int X, N, points_per_testcase, score;
        scanf("%d%d", &X, &N);
    if(N==3){
        points_per_testcase = X * 1;
        score = points_per_testcase / N;
        }
    else if(N==10){
        points_per_testcase = X * 10;
        score = points_per_testcase / N;
        }
        printf("%d\n", score);
    }

    return 0;
}

Learning course: C for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone