Kiểm tra tam giác cân

View as PDF

Submit solution

Points: 0.10
Time limit: 0.1s
Memory limit: 64M
Input: stdin
Output: stdout

Author:
Problem type

Giới thiệu: Đây là đề thi ICPC lậu

H.32 Programming Lab's N pigs, conveniently numbered 1… N, all stand in a line (they seem to do so often so now need very little prompting from SalAqua to line up. them in line). Each pig has a breed ID: 1 for pink, 2 for white and 3 for black. SalAqua would like your help counting the number of pigs of each breed that lie within certain intervals of the ordering.

SAMPLE OUTPUT 2

NO

Comments

Please read the guidelines before commenting.


There are no comments at the moment.