Editorial for Tăng 2 biến giá trị
Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.
Submitting an official solution before solving the problem yourself is a bannable offence.
Bài này rất đơn giản, các bạn chỉ cần tính tổng của tất cả phần tử trong dãy, xong kiểm tra như sau:
-
Nếu kết quả lẻ, xuất NO
-
Nếu kết quả chẵn: xuất YES
Comments