View Code of Problem 3689

#include <stdio.h>
int main()
{
	int T;
	long A, B;
	int i = 1;
    scanf("%d", &T);
	while(T--)
	{
		scanf("%ld", &A);
		scanf("%ld", &B);
		printf("Case #%d:\n%ld\n", i++, A - B);
	}
	return 0;
}

Double click to view unformatted code.


Back to problem 3689