升官发财请往他处,贪生畏死勿入斯门
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include using namespace std; const int maxn=40; int a[maxn][maxn],f[maxn][maxn][maxn][maxn]; int max(int x,int y); int main() { int n,x,y,m; scanf("%d",…
```cpp #include #include using namespace std; int main() { int n,p; cin>>n>>p; if(n*9 digits(n,0); digits[0]=1; int remaining_sum_needed=p-1; for(int i=n-1;i>=0…
在文章《题解:P1601 A+B Problem(高精)》发表评论:
#define int long long ???
```cpp #include #include #include using namespace std; #define MAXY 5001 int prime[MAXY]; void init_prime() { memset(prime,1,sizeof(prime)); prime[0]=prime[1]=0…
在讨论《TLE求助!》回复:
@[Leo2011](luogu://user/539066) 谢
在讨论《TLE求助!》回复:
@[liuyuhan1522](luogu://user/1435840) 谢
```cpp #include using namespace std; int main() { int n; cin>>n; int count = 0,num = 2; bool whether = true; while(true) { whether = true; if(num < 2) { whether…
```cpp #include using namespace std; int main() { int n,r; cin>>n; for (int i=1;i >x>>y>>r; float j=sqrt(x*x+y*y); float time=((j/50.0)*2+1.5*r); float ztime; z…
在讨论《蒟蒻求助,思路哪里有问题?》回复:
@所有人,已经改好了,谢谢! 首先是数组越界了,改成a[101] 第二加上ma=a[0]; 第三ma=max(a[i],a[i+1]);改为ma=max(ma,a[i]) ```cpp #include using namespace std; int main() { int a[101],n,ma; cin>>n;…
```cpp #include using namespace std; int main() { int a[100],n,ma; cin>>n; for(int y=1;y >a[y]; } for(int i=0;i a[i+1]) ma=a[i]; //else max=a[1+1]; } cout<<ma;…
在讨论《40分求助》回复:
@[Sunrise_up]谢谢!!
在讨论《40分求助》回复:
@[uncle_steve]谢谢!!
```cpp #include using namespace std; int main() { int n,x; double s=0; cin>>n; for(int i=1;i >x; s=s+x; } cout<<s<<" "<<fixed<<setprecision(5)<<s/n; return 0; }…
```cpp #include using namespace std; int main() { int n,x; cin>>n; double s=0; for(int i=1;i >x; s=s+x; } cout<<fixed<<setprecision(4)<<s/n; return 0; } 0分求助