Aloyna and Can Buying Aloyna is a can lover girl and whenever she goes to a shop, she must buy a can to drink. This time s... |
Another String Query Problem This time I'm going to introduce you to a new land, called String Land. In String Land there are N ... |
Beauty of AP Solving problems is fun in competitive programming, right? So let’s solve a fun task today too :P. 1... |
Hamming Distance Hamming distance between two binary strings of equal length is the number of mismatches between ever... |
Kingdom of Equality There is a kingdom called DomKi. There are N cities and N – 1 bidirectional roads in DomKi. The citi... |
Maximum Sum Segment You are given an array a of n positive integers. You Have to perform Q query on it. In each query, y... |
Race in DomKi There is a kingdom called DomKi. DomKi has N city and N-1 two-way road. Each city is numbered with 1... |
The Story of Two Friends There are two friends F1 and F2 in a city. They both are student of FCB High School. Also, they resi... |