如题
#include<iostream> using namespace std; int main() { int s=0; for (int i=1;i<=100;i++) if (i%2!=0 && i%3!=0) s+=i; cout<<s; return 0; }