Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
42250 | lmz120809 | 整除 | C++ | Accepted | 0 MS | 248 KB | 163 | 2024-02-25 09:38:46 |
#include<iostream> using namespace std; int main() { int n,cnt=7; cin>>n; for(int i=1;i<=n;i++){ cout<<cnt<<" "; cnt+=7; n-=7; } return 0; }