文章
68
粉丝
691
获赞
26
访问
578.4k
int main() { int n, a; while (cin >> n) { long long sum = 0; for (int i = 1; i <= n; i++)sum += i; for (int i = 0; i < n - 1; i++) { cin >> a; sum -= a; } cout << sum << endl; } }
登录后发布评论
暂无评论,来抢沙发