Tên đăng nhập Điểm ▾ Bài tập Giới thiệu
43701 0 0
43701 0 0
43701 0 0
43701 0 0

include<bits/stdc++.h>

using namespace std;

define ll long long

ll i,j,n,m,a[1000001],t=0,d=0;
int main()
{
cin>>n>>m;
for(i=1;i<=m;i++){cin>>a[i];t+=a[i];}
while(t%n!=0)
{
t--;
d++;
}
if(d>0&&d<=n)cout<<t/n+1;

}

43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0

dưety

43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0

╰(°▽°)╯ im stupid

43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701
BA_testeruser
Minh Quach
0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0

LÀ MỘT THẰNG GẶP VẤN ĐỀ VỀ KỸ NĂNG

43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701
cup2024_14_t
Phan Minh Quân
0 0
43701
cup2024_21_t
Nguyễn Trí Đại
0 0
43701
cup2024_22_t
Nguyễn Quốc Thịnh
0 0
43701 0 0
43701 0 0
43701 0 0

print("xin chao to la tinh")

43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701
cuongsieuthanh1977
Nguyễn Tuấn Cường
0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701 0 0
43701
cup2024_01
Đặng Huy Hậu
0 0