上传文件至「0228」

排座位
This commit is contained in:
2026-02-28 05:01:48 -05:00
parent 21a6a16219
commit 2794650718

16
0228/162.cpp Normal file
View File

@@ -0,0 +1,16 @@
#include<iostream>
using namespace std;
int main(){
int x=15;
int j=0;
int man=0;
while(man<312){
j++;
x=x+2;
man=man+x;
}
cout<<j<<" "<<x<<" "<<man<<endl;
return 0;
}