Codeforces 1744C. Traffic Light C. Traffic Lighttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou find yourself on an unusual crossroad with a weird traffic light. That traffic 2022-11-11
Codeforces 1744D. Divisibility by 2^n D. Divisibility by 2^ntime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an array of positive integers a1,a2,…,an. Make the product of 2022-11-11
Codeforces 1744B. Even-Odd Increments time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given n of integers a1,a2,…,an. Process q queries of two types: query of the form “0 xj”: 2022-11-11
Codeforces 1744A. Number Replacement A. Number Replacementtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAn integer array a1,a2,…,an is being transformed into an array of lowercase E 2022-11-11
Codeforces 1750B. Maximum Substring B. Maximum Substring A binary string is a string consisting only of the characters 0 and 1. You are given a binary string s. For some non-empty substring† t of string s containing x characters 0 and y 2022-11-11
Codeforces 1750A. Indirect Sort A. Indirect Sort You are given a permutation a1,a2,…,an of size n, where each integer from 1 to n appears exactly once. You can do the following operation any number of times (possibly, zero): Choose 2022-11-11
实验室第二次讲课 实验室第二次讲课#47. 时间转换说明给定一个以秒为单位的时间t,要求用的格式来表示这个时间。<H>表示时间,<M>表示分钟,而表示秒,它们都是整数且没有前导的“0”。例如,若t=0,则应输出是“”;若t=3661,则输出“”。 输入格式输入只有一行,是一个整数t(0<=t<=86399)。 输出格式输出只有一行,是以“” 2022-11-10