Answer:
Question is incomplete.
Assuming the below info to complete the question
You have a collection of n lockboxes and m gold keys. Each key unlocks at most one box. Without a matching key, the only way to open a box is to smash it with a hammer. Your baby brother has locked all your keys inside the boxes! Luckily, you know which keys (if any) are inside each box.
Detailed answer is written in explanation field.
Explanation:
We have to find the reachability using the directed graph G = (V, E)
In this V are boxes are considered to be non empty and it may contain key.
Edges E will have keys .
G will have directed edge b1b2 if in-case box b1 will have key to box b2 and box b1 contains one key in it.
Suppose if a key opens empty box or doesn’t contain useful key means can’t open anything , then it doesn’t belongs to any edge.
Now, If baby brother has chosen box B, then we have to estimate for other boxes reachability from B in Graph G.
If and only if all other boxes have directed path from box B then just by smashing box B we can get the key to box b1 till last box and we can unlock those.
After first search from B we can start marking all other vertex of graph G.
So algorithm will be O ( V +E ) = O (n+m) time.
Programming Languages have evolved in phases called generations. The five generations of computers are : <span>First Generation (1940-1956) Vacuum Tubes. Second Generation (1956-1963) Transistors. Third Generation (1964-1971) Integrated Circuits. Fourth Generation (1971-Present) Microprocessors. <span>Fifth Generation (Present and Beyond) Artificial Intelligence.</span></span>
Answer:
#include <stdio.h>
int main() {
const float square_feet;
printf("Enter area in square feets: ");
// reads and stores input area
scanf("%f", &square_feet);
float acres= square_feet/43560;
// displays area in acres
printf("area in acres is: %.2f", acres);
return 0;
}
Explanation:
code is in C language.
double slashed '//' lines are not code but just comments to understand what it mean in code or for explanation purpose
I believe the answer is annual maintenance
Hope this helps :p
9) Which date is assigned the serial number of 1?
A. January 1, 1700
B. January 1, 2000
D. January 1, 1800