#P3854. Strategic Feasibility Assessment
Strategic Feasibility Assessment
Strategic Feasibility Assessment
The leader of country A has proposed a number of military operation strategies. As the Chief Computer Scientist of country A, your task is to determine whether each strategy is feasible.
For every strategy, you are given two integers, representing the available resources R and the required resources E. The strategy is considered feasible if and only if
\[
R \geq E
\]
In other words, print Feasible
if R \geq E
and Not Feasible
otherwise.
inputFormat
The input begins with a single integer N
(1 ≤ N ≤ 105), the number of strategies. Each of the next N
lines contains two space-separated integers: R
and E
(0 ≤ R, E ≤ 109), representing the available and required resources respectively.
outputFormat
For each strategy, output a single line containing Feasible
if the available resources are greater than or equal to the required resources (i.e. if \(R \geq E\)), otherwise output Not Feasible
.
sample
1
100 50
Feasible