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.
プロジェクト ID: 8325988

プロジェクトについて

2個の提案
リモートプロジェクト
アクティブ 9年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
この仕事に2人のフリーランサーが、平均$33 USDで入札しています
ユーザーアバター
A proposal has not yet been provided
$25 USD 1日以内
4.9 (8 レビュー)
4.0
4.0
ユーザーアバター
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
お支払い方法確認済み
メンバー登録日:3月 16, 2015

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。