View Code of Problem 3689

#include<stdio.h>
#include<math.h>
#include<string.h>
//#include<algorithm>
#include <bits/stdc++.h>

using namespace std;

int main() {
	int T;
	scanf("%d",&T);
	int k=1;
	while(T--) {
		int A,B;
		scanf("%d",&A);
		scanf("%d",&B);
		printf("Case #%d:\n",k);
		printf("%d\n",A-B);
		k++;
	}
}

Double click to view unformatted code.


Back to problem 3689