| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 46461 | 杨中琦 | 将任何一个正整数的立方写成一组相邻奇数之和 | C++ | Accepted | 100 | 0 MS | 252 KB | 171 | 2022-07-13 13:32:00 |
#include<iostream> using namespace std; int main(){ int a,b,i; cin>>a; b=a; i=a*2-1; while(b>0){ printf("%d ",a*a-a+i); i=i-2; b--; } return 0; }