

下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、題目來源:Ural Ural AirlineTime Limit: 5 second MemoryLimit:An airline company is a sponsor of the nniversary ration at the Se University. In return for it the company wants the 題目來源:Ural Ural AirlineTime Limit: 5 second MemoryLimit:An airline company is a sponsor of the nniversary ration at the Se Unive
2、rsity. In return for it the company wants the University to help it. company serves N airports and carries out flights n some of them. In order simplify the work the flights are numbered egers from 1 up to M. If there is flight n two airports a plane s in the both directions with the same number.The
3、remaybeonlyoneflightn anytwo The airline company understandst its planes may attract terrorists. In order to create difficulties for terrorists the company wants to number the flights in l manner. If there are several t depart from one airport then greatest common divisor of their flight numbers sho
4、uld be equal to 1. The company turns to you for help (remember, this is a sponsor; you are to work properly).You should write a t finds a required numbering or t it sible to satisfy the requirements. If several numberings sible, it sufficienttofind anyone ofline of ontains numbers n and m separated
5、space (2 = n 50). The next m lines contain information on flights. Each flight is determined by numbers of the t it connects. The numbers of the airports are line of an output should contain YES, if it sible to find a numbering, and NO otherwise. If the answer is YES, the second line numbering, and
6、NO otherwise. If the answer is YES, the second line should contain sible numbering of flights. The numbersare tobe ordered asit is he Flightnumbersareto beseparated Sle6 1 2 245 Sle 423 1時(shí)間限制: 5 內(nèi)存限制: Ural Uraln 個(gè)機(jī)場,這些機(jī)場之間有若干1M依次標(biāo)號。如果兩個(gè)機(jī)場之間有一分子, 為了給時(shí)間限制: 5 內(nèi)存限制: Ural Uraln 個(gè)機(jī)場,這些機(jī)場之間有若干1M依次標(biāo)號。如果兩個(gè)機(jī)場之
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 通信線路建設(shè)合同
- 冷庫物流及熟食加工項(xiàng)目可行性研究報(bào)告寫作模板-備案審批
- 國際物流試題及答案
- 電工基礎(chǔ)考試題+答案
- 采購原材料合同范本
- 公共設(shè)施裝修改造工程合同
- 商鋪?zhàn)赓U合同協(xié)議書范本
- 度全國鋼材供應(yīng)合同
- 自我血糖監(jiān)測操作
- 旅游規(guī)劃怎么做
- 《射雕英雄傳》好書讀后感
- DB51T 2049-2015 建筑消防設(shè)施檢測規(guī)范
- 【MOOC】風(fēng)景背后的地貌學(xué)-華中師范大學(xué) 中國大學(xué)慕課MOOC答案
- 護(hù)理感動案例
- 2024版《安全生產(chǎn)法》考試題庫附答案(共90題)
- 企業(yè)天然氣轉(zhuǎn)讓協(xié)議書范文范本
- 帶式運(yùn)輸機(jī)傳動裝置的設(shè)計(jì)
- 玩具照相機(jī)細(xì)分市場深度研究報(bào)告
- 人工智能算法與實(shí)踐-第16章 LSTM神經(jīng)網(wǎng)絡(luò)
- 中考監(jiān)考和考務(wù)人員培訓(xùn)手冊
- 數(shù)學(xué)史簡介課件可編輯全文
評論
0/150
提交評論