提交时间:2019-10-14 19:46:31
运行 ID: 1609
#include <iostream> using namespace std; int main(){ int num, count = 0; cin>>num; for (int i=0; i<=num; i++) if (i%3 == 2 && i%5 == 3 && i%7 == 2){ count++; } cout<<count<<endl; return 0; }