Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
42240 | Hyma | 整除 | C++ | Accepted | 1 MS | 244 KB | 161 | 2024-02-25 09:21:40 |
#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; }