Help me in solving RCPITCP83 problem

My issue

failed in hidden test case

My code

#include <stdio.h>

int main() {
    int a, b;
    int sum;
    int diff;
    scanf("%d", & a);
    scanf("%d", & b);
    // Complete the code
    sum = a+b;
    printf("%d\n",sum);
    diff=a-b;
    printf("%d\n",diff);
    return 0;

}

Learning course: Learn C Programming
Problem Link: https://www.codechef.com/learn/course/rcpit-programming-c/RCPITLPC13/problems/RCPITCP83