Question: [Problem B]
More Sample test case?
Judge answer:
Input:
10 5
11-red
1-green
4-blue
7-green
3-blue
5-green
10-gray
9-blue
12-green
8-green
7 5
8 5
12 1
7 12
4 10
Output:
1
2
1
1
1
More Sample test case?
Input:
10 5
11-red
1-green
4-blue
7-green
3-blue
5-green
10-gray
9-blue
12-green
8-green
7 5
8 5
12 1
7 12
4 10
Output:
1
2
1
1
1
Use fast I/O for this problem.
Fast.
agar shoro va payan yeki bashan va white bashan javab 0 e ya 1 ?
0
limit x , y chie?
x,y< 1000
newline between the answer for two queries ?
how about between the answer for two testcase ? (input consists of multiple testcases)
There is no extra new line between the answers
Sample Output:
2
2
0
M hade aksar chande?
adade rasa hade aksar chande?
Judge answer:
M <= 10^9
N <= 10^5
motmaenin?
M tedade queryhast!
sorry for my mistake
M <= 10^7
N <= 10^5
tile_numbers <= 10^9
can x and y have negative values?
Yes
in the question text : " For example, “babak” could be changed to “bak” "
but for "babak" the output is "abk" ??
why is that?
please answer!!!!!! tnx
No Response. Read the problem specification.
M hade aksar chande?
adade rasa hade aksar chande?
M <= 10^9
N <= 10^5
Do the lines of different cameras always intersect in one point ? (can they be colinear or parallel )
the cameras area rotating with different speeds, that you can assume there are in any possible states in different times. that means they may become parallel once but will have intersections in other times