Find Jobs
Hire Freelancers

C++ uva type question solution (include test data)

$10-30 USD

Σε Εξέλιξη
Αναρτήθηκε πάνω από 8 χρόνια πριν

$10-30 USD

Πληρωμή κατά την παράδοση
Chemical factories are dangerous because of many inflammable materials. Factory buildings may blow up when a fire accident occurs. Accordingly, the distance between buildings should be large enough, in case of a chain reaction destroys a large area. Given a set of chemical building positions (xi,yi), and the influence area (distance) ri of each building when it blows up. Your goal is to determine whether the worker, whose location is at (ui, vi), is safe when building j blows up. The first line is m that indicates the number of chemical buildings. The next m lines, which contain xi, yi, ri, represent the building positions and the influence areas when fire accidents occur. Then, a line indicates that j (j >= 0) building is blowing up, and a line shows the number of workers n that are close to chemical buildings. Finally, n lines, which contain ui, vi, represent the worker positions. The end of input is -1. Otherwise, the input repeats in the format aforementioned. Output Output should indicate whether the worker is safe Y or not N.
Ταυτότητα εργασίας: 8325988

Σχετικά με την εργασία

2 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 9 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
2 freelancers δίνουν μια μέση προσφορά $33 USD για αυτή τη δουλειά
Avatar Χρήστη
A proposal has not yet been provided
$25 USD σε 1 ημέρα
4,9 (8 αξιολογήσεις)
4,0
4,0
Avatar Χρήστη
Senior CS undergrad. Currently involved in machine learning research at IIT Bombay. This is a piece of cake. Can do it in less than an hour. Ping me if interested.
$40 USD σε 0 ημέρα
4,8 (10 αξιολογήσεις)
3,3
3,3

Σχετικά με τον πελάτη

Σημαία της TAIWAN
Hsinchu City, Taiwan
5,0
1
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Μαρ 16, 2015

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.