Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
17582 | 鲁家菱 | 整除 | C++ | Accepted | 0 MS | 248 KB | 161 | 2023-05-14 17:11:05 |
#include<bits/stdc++.h> using namespace std; int main() { int N; cin>>N; for(int i=2;i<=N;i++){ if(i%7==0){ cout<<i<<" "; } } return 0; }