hznu-1892-永远的17岁

在这里插入图片描述

#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 10;
int main() {
    
    
	int T; scanf("%d", &T);
	while (T--) {
    
    
		int n; scanf("%d", &n);
		if (n < 15) puts("-1");
		else printf("%d\n", n - 7);
	}
	return 0;
}

猜你喜欢

转载自blog.csdn.net/bloom_er/article/details/106993205
今日推荐