diff options
| -rw-r--r-- | 781/floors.c | 25 | ||||
| -rw-r--r-- | 781/floors.in | 9 |
2 files changed, 34 insertions, 0 deletions
diff --git a/781/floors.c b/781/floors.c new file mode 100644 index 0000000..ab8d257 --- /dev/null +++ b/781/floors.c @@ -0,0 +1,25 @@ +#include <stdio.h> + +/* + + */ + +int main(){ + int n; + scanf("%d", &n); + while(n--){ + int i, f, e, a, b, x[100]={0}, y[100]={0}; + scanf("%d %d %d %d", &f, &e, &a, &b); + + for(i=0; i<e; i++) + scanf("%d %d", &x[i], &y[i]); + + int elev, found = 0; + + if(found==1) + printf("It is possible to move the furniture.\n"); + else + printf("The furniture cannot be moved.\n"); + } + return 0; +} diff --git a/781/floors.in b/781/floors.in new file mode 100644 index 0000000..a0c2848 --- /dev/null +++ b/781/floors.in @@ -0,0 +1,9 @@ +2 +22 4 0 6 +3 2 +4 7 +13 6 +10 0 +1000 2 500 777 +2 0 +2 1
\ No newline at end of file |
