Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
43039 | yuzhengxun | 求平方 | C++ | Accepted | 1 MS | 244 KB | 149 | 2024-03-06 19:46:59 |
#include<iostream> using namespace std; int main() { int n;; cin>>n; cout<<1; for(int i=2;i<=n;i++){ cout<<","<<i*i; } return 0; }