@[Lifehallo](/space/show?uid=110894)
希望更丰富的展现?使用Markdown
by 波风水门 @ 2018-09-12 22:20:46
what
by Lifehello @ 2018-09-12 22:22:20
```cpp
#include <bits/stdc++.h>
using namespace std;
long double n,m;
long double sum=0,s,q;
int a[10001];
int main()
{
cin>>n>>m;
for(int i=1;i<=n;i++)
{
cin>>a[i];
sum=sum+a[i];
}
s=sum/m;
q=floor(s);
if(s-q<0.00000001)
{
cout<<s;
return 0;
}
q++;
cout<<q;
return 0;
}
```
by 波风水门 @ 2018-09-12 22:22:45
what is "Markdown"?
by Lifehello @ 2018-09-12 22:22:57
#include <bits/stdc++.h>
using namespace std;
long double n,m;
long double sum=0,s,q;
int a[10001];
int main()
{
cin>>n>>m;
for(int i=1;i<=n;i++)
{
cin>>a[i];
sum=sum+a[i];
}
s=sum/m;
q=floor(s);
if(s-q<0.00000001)
{
cout<<s;
return 0;
}
q++;
cout<<q;
return 0;
}
by Lifehello @ 2018-09-12 22:24:07
who are you.
by Lifehello @ 2018-09-12 22:24:48
@[Lifehallo](/space/show?uid=110894) [点这里](https://www.luogu.org/wiki/show?name=%E5%B8%AE%E5%8A%A9%EF%BC%9Amarkdown)
by 波风水门 @ 2018-09-12 22:25:51
那您想告诉我神马??
by Lifehello @ 2018-09-12 22:28:14
刘宇? @[Lifehallo](/space/show?uid=110894)
by ACgod @ 2018-09-12 22:28:55
~~本渣渣啥都不会。。~~
by Lifehello @ 2018-09-12 22:29:42