55
版主
#include<iostream> using namespace std; int main(){ int a=0; for(int i=1;i<=100;i++){ a=a+i*(i+1); } cout<<a; }
使用道具 举报
|小黑屋|山东智趣岛论坛 ( 鲁ICP备2023024048号 )
GMT+8, 2025-4-21 03:03 , Processed in 0.162802 second(s), 36 queries .
Powered by Discuz! X3.3 Licensed
Copyright © 2001-2020, Tencent Cloud.