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: Class 81 Every month, we organize monthly birthday parties for students in the class. Please count the number of students with birthdays in each month of the class 81 Let the class president prepare to buy gifts. Input data includes: 2 current, first line
Threads: Write a program to input an integer array of n elements (1<n<10000). Enter an integer x and position k (0<k<=n+1), Insert number x into position k in the above array. Input: Including 4 current: current 1 Integer n, current 2 n integers separated by spaces, current
Threads: Write a program to input an integer array of n elements (2<n<1000). Change the positions of the largest and smallest numbers in the above sequence. If there are many largest numbers, multiple smallest numbers, then change the position of the largest number to the smallest and smallest numbers
Threads: Write a program to input an array of real numbers consisting of n elements (2<n<1000) which has the least 2 number 0. Calculate the sum of the elements in the middle of the number 0 first and number 0 Final. Input: current 1 including 1 integer n, current 2 n real numbers in it
Threads:Write test program 1 there is the perfect number does not? Perfect number is a positive integer equal the sum of the positive divisors 2 times it. example No. 6 the Convention 1, 2, 3, 6 and total 1 + 2 + 3 + 6 = 12 (equal 2 time 6).
Threads: Total 2 phân số a/b và c/d, sau đó tối giản phân số kết quả thu được Dữ liệu vào: 4 number a,b,c,d (điều kiện 0<a,b,c,d<=10000); Dữ liệu ra: Phân số tối giản e/f Ví dụ: Input 2 5 3 6 xuất ra 9/10 (giải thích 2/5+3/6=27/30=9/10)
Threads: Cho số tự nhiên N. Nhiệm vụ của bạn là hãy đếm tất cả các số có đúng ba ước số. Ví dụ n=100, ta có các số 4, 9, 25, 49. Input: Số lượng test T, T dòng tiếp theo là các số tự nhiên N. 1≤T≤100; 1≤N ≤7*10^13 Đầu ra:
Threads: Sơn có một ma trận a được thiết lập như sau: a[i].size()=2. (0 ≤ i < a.size()). a[i][0] ≤ a[i][1]. Một lần biến đổi Sơn thực hiện các việc như sau: Tăng tất cả a[i][0] lên x đơn vị cho đến khi tồn tại a[i][0]=a[i][1] Xóa tất cả các phần tử mà a[i][0]
Threads: Trên một đoạn đường bị hư hỏng, có n điểm, độ cao ở mỗi điểm i của đường là a[i], khi trời mưa xuống thì những chỗ thấp hơn sẽ bị nước mưa lấp vào. Lưu ý là riêng điểm 0 và điểm n-1 là hai lề đường nên không thể bị nước