Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
17474 | lulu | 求平方 | C++ | Accepted | 0 MS | 248 KB | 154 | 2023-05-14 14:55:48 |
#include<bits/stdc++.h> using namespace std; int main() { int N; cin>>N; for(int i=1;i<N;i++){ cout<<i*i<<","; } cout<<N*N; return 0; }