题目传送门 此题直接用容斥原理即可,所以只需输出a+b−ca+b-ca+b−c。 AC Code C++复制#include<bits/stdc++.h> using namespace std; int a,b,c; int main(){ cin>>a>>b>>c; cout<<a+b-c; return 0; } 求管理给过!!!