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.
Threads: Viết chương trình nhập vào dãy gồm n số nguyên (mặc định nhập n nguyên dương). In ra dãy số được sắp xếp theo trật tự tăng dần. Input: include 2 current, dòng thứ nhất là số nguyên n (n>= 1) là số phần tử của dãy, second line 2 là dãy
Posts 1. Biểu thức In ra tổng, tích, hiệu và thương của 2 số được nhập vào từ bàn phím. Kết quả lấy 3 chữ số sau dấu phẩy. Input: Hai số thực a, b Output: 4 giá trị tổng, hiệu, tích, thương (a/b) của hai số a và b, mỗi giá trị trên 1
Threads: Write a program to input an array of integers. Sort the array in ascending order Input: include 2 current, The first line is an integer number of elements of the sequence, second line 2 is a sequence of n integers (n>=1), Each integer is separated by a space. Output: to be
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
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
Threads: Write a program to find the maximum sum of the sub-ranges in the array. Input: The first line with N is the number of elements in the array. The next line contains the ith elements of the Output array: Maximum sum of a subset Example: input: 6 -2 11 -4 13
Threads: Let n seeds with a corresponding number of flowering days d1, d2, …, dn. A farmer grows a seed a day. Write a program to find the earliest number of days so that the farmer will have a garden party when all the seeds have grown
Threads: Vinh works for an ATM manufacturing company. The basic function of an ATM is to withdraw cash. When a customer wants to withdraw W dong, The ATM will give out N notes with a total of W dong. In the next generation ATM, Vinh
Threads: There are N cakes, each cake has a radius of ri (corresponding to the i th cake). All N pies have equal and equal height 1. It is necessary to divide N pies into F pies, satisfying the condition that F possible pancakes
Threads: Game TicTacToe is a reduced version of checkerboard game with board game as a board 3 x 3. Game includes 2 player, each turn 1 the player will check the box in the board. Player 1 will mark ‘x’, The second player will hit