- 2024十一集训入门组day3
nameiduoyanglidiandouguol,yifenyebugei,qutamalegebide!!!!tmd!!
- 2024-10-4 11:55:00 @
👎 👎 👎 👀️
7 条评论
-
杜彦诚2024 LV 2 @ 2024-10-4 12:01:57
👎
-
2024-10-4 12:01:46@
#include<bits/stdc++.h> using namespace std; int main() { //freopen("happy.in","r",stdin); //freopen("happy.out","w",stdout); int a,s,d,f[205]={0},g=0,h=0; cin>>a>>s>>d; int sum=0; sum+=as; for(int i=0;i<a;i++) { h++; if(a%h==0&&a%(h4)==0) { f[g]+=hhd; g++; } } sort(f,f+g); if(f[g-1]>sum) cout<<f[g-1]; else if(f[g-1]<sum) cout<<sum; else cout<<0; return 0; }
-
2024-10-4 12:00:08@
-
2024-10-4 12:00:02@
-
2024-10-4 11:59:42@
-
2024-10-4 11:58:47@
👎
-
2024-10-4 11:55:59@
乐子
- 1