1065 A+B and C (64bit) (20 point(s))

#include<iostream>
#include<cstdio>
using namespace std;
typedef long long ll;
int main() {
	ll a, b, c;
	int n;
	scanf("%d", &n);
	for(int i = 0; i < n; ++i) {
		scanf("%lld%lld%lld", &a, &b, &c);
		printf("Case #%d: %s\n", i + 1, c - a < b ? "true" : "false");
	}
	return 0;
} 

 

相关文章:

  • 2021-08-02
  • 2021-11-21
  • 2022-12-23
  • 2021-12-07
  • 2021-05-30
  • 2021-11-03
  • 2021-07-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
  • 2022-12-23
  • 2022-01-16
  • 2021-09-19
  • 2022-01-08
相关资源
相似解决方案