WEBSITE RETURNED, HOWEVER SUBMIT QUANTITY IS RESTRICTED PER DAY TO VERY LITTLE (UNDER JUDGE0 NEW POLICY, API PROVIDER). Therefore it is very much for you to pay attention TEST CAREFULLY CODE BEFORE SUBMIT.

Category: Exercise

HK2 MAJOR WEIGHT

Threads: They want to investigate the weight of n students in class 8 Tran Quang Khai Secondary School. Write a program to input an integer (1<n <=150) is the number of students to be investigated and the sequence includes n integers a1,a2,a3,…an (0<ai<100) is the weight of each student

Reflective Paint

Threads: Along the side of the highway, people put up columns of columns to make barriers. Columns are numbered from 1 onwards. The even columns are coated with reflective paint. Columns with even numbers are not divisible by 4 to be painted over an area of ​​1×1, columns with numbers

Candy sale

Threads: Lee has an infinite number of candy bags in turn 6, 9 and 20 the candy. Have 1 the customer wants to buy n candies, Lee wants to sell as many bags of candy as possible. Help Lee figure out the maximum number of candy bags sold, know that she won't be sold