Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
42224 | YOYOLEE-李昕颖 | 整除 | C++ | Accepted | 0 MS | 244 KB | 152 | 2024-02-25 09:13:49 |
#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; for(int i=1;i<=n;i++){ if(i%7==0) cout<<i<<" "; } return 0; }