2021.07.26 D. Corrupted Array | Round #713 Div.3 b1, b2, …, bn + 2 (1 ≤ bi ≤ 109) "-1", if the array b could not be obtained from any array a; n integers b1, b2, …, bn + 2, otherwise. array a was written to array b, i.e. bi=ai (1≤i≤n); The (n+1)-th element of the array... 2021.07.262021.07.26 C. A-B Palindrome | Round #713 Div.3 a b(0 ≤ a, b ≤ 2 * 105) "-1", if you can't replace all the characters '?' in the string s by '0' or '1' so that the string becomes a palindrome and that it contains exactly a characters '0' and exactly b characters '1'; ... 2021.07.262021.07.26 B. Almost Rectangle | Round #713 Div.3 시간 2초, 메모리 256MB input : t (1 ≤ t ≤ 400) n (2 ≤ n ≤ 400) '.' 혹은 '*'로 이루어진 길이 n짜리 문장 output : For each test case, output n rows of n characters — a field with four asterisks marked corresponding to the statements. If ther... 2021.07.262021.07.26 A. Spy Detected! | Round #713 Div.3 시간 2초, 메모리 256MB input : t (1 ≤ t ≤ 100) n (3 ≤ n ≤ 100) a1, a1, …, a1 (1 ≤ ai ≤ 100) output : For each test case, output a single integer — the index of the element that is not equal to others. 다른 원소들과 동일하지 않은 한 개의 원소의 ... 2021.07.262021.07.26
D. Corrupted Array | Round #713 Div.3 b1, b2, …, bn + 2 (1 ≤ bi ≤ 109) "-1", if the array b could not be obtained from any array a; n integers b1, b2, …, bn + 2, otherwise. array a was written to array b, i.e. bi=ai (1≤i≤n); The (n+1)-th element of the array... 2021.07.262021.07.26 C. A-B Palindrome | Round #713 Div.3 a b(0 ≤ a, b ≤ 2 * 105) "-1", if you can't replace all the characters '?' in the string s by '0' or '1' so that the string becomes a palindrome and that it contains exactly a characters '0' and exactly b characters '1'; ... 2021.07.262021.07.26 B. Almost Rectangle | Round #713 Div.3 시간 2초, 메모리 256MB input : t (1 ≤ t ≤ 400) n (2 ≤ n ≤ 400) '.' 혹은 '*'로 이루어진 길이 n짜리 문장 output : For each test case, output n rows of n characters — a field with four asterisks marked corresponding to the statements. If ther... 2021.07.262021.07.26 A. Spy Detected! | Round #713 Div.3 시간 2초, 메모리 256MB input : t (1 ≤ t ≤ 100) n (3 ≤ n ≤ 100) a1, a1, …, a1 (1 ≤ ai ≤ 100) output : For each test case, output a single integer — the index of the element that is not equal to others. 다른 원소들과 동일하지 않은 한 개의 원소의 ... 2021.07.262021.07.26