Python 板


LINE

※ [本文轉錄自 CodeJob 看板 #1LbvDbo2 ] 作者: jiarjia ( jiarjia) 看板: CodeJob 標題: [發案]高獎金3-10萬,MIT面試程式題目, 徵求神人 時間: Sat Jul 4 16:03:46 2015  發案人:Amy Chen 聯絡方式1[email protected] 聯絡方式2: 所在地區 :Taipei 有效時間:7/20 專案說明: 因觀眾要求,故將原文PO出, 已給出3萬了,大家加油 高獎金3-10萬,MIT面試程式題目, 徵求神人解答 雲端硬碟中有59 張EXCEL表 目標是讓每一張EXCEL檔都符合遊戲規則的目標數字 如果達到了遊戲目標, 我願意給出3-10萬高額的獎金 題目以雲端硬碟文章中的規則為主 題目連結:https://goo.gl/vRFiUr 時限:7/20之前 提交方式: 1. python程式 2. 或是跟我講Logic我自己測試, 但需要1-3天的時間才能驗證 若有不懂得地方歡迎提問 信箱:[email protected] 遊戲規則: Start with amount = 0, goal = 0 (amount at any row can only =-1 or 0 or 1, -1 <=amount <= 1) program runs row by row, for each row N, you can use any information in row (0 to N-1): at row N you can do 3 things (decided by the logic you gave me): 1) amount = amount - 1 then Goal = Goal - the number in column E - 0.22 2) amount = amount + 1 then Goal = Goal + the number in column D - 0.22 3) Do nothing (amount = amount, Goal = Goal) For each file, try to Max Goal and end of row, amount = 0. (if end of row, amount not equal to 0: amount = +1, will just automatic use last row column E to force goal = goal - column E/ amount = -1, will just automatic use last row column D to force goal = goal + column D) Therefore, amount = 0 For every file, (running the same logic) End of each file amount = 0 (if amount = +-1 is ok, but will be forced to amount = 0 and adjust the goal to let amount = 0), and Goal > 200, 給10萬 (that is 59 files, total goal for every file is >200 and sum up all files goals > 11800) (using the same logic for all files) For every file,(running the same logic) End of each file amount = 0 (if amount = +-1 is ok, but will be forced to amount = 0 and adjust the goal to let amount = 0), and average for each file Goal > 200, 給3萬 (that is 59 files, total goal for every file can be anything, but >-1000 and sum up all files goals > 11800, Tips: the goal for later files are more important to get higher number) And average goal 150以上可以洽談 遊戲題目解釋: 可用N以前的所有數據,來決定N+1是否殺細胞或者增加細胞. N+1可殺細胞數量為1, 殺每個細胞的含氧量為E, (總含氧量-column E) N+1可增加細胞數量為1, 增加每個細胞的含氧量為C. (總含氧量+column D) 最終目的0個細胞,總含氧量越大越好,大於200 (-E+D) 範例 1: N= 18, 可以用N=1到N=18的任何資訊 例如參數b從9912到9928大於15 決定N+1也就是N=19增加1個細胞(含氧量9926.6) N+2再殺回一個細胞(含氧量9944) 最後0個細胞但含氧量是(9926.6-9944-0.22=-17.62) 結論是-17.4不給錢 範例 2: N= 18, 可以用N=1到N=18的任何資訊 例如參數三從9912到9928大於15 決定N+1也就是N=19殺1個細胞(含氧量9929) N+2再增加一個細胞(含氧量9932) 最後0個細胞但含氧量是(9932-9929-0.22=2.78) 結論是2.78,快要可以給錢 成功範例: 當column F>67, 減少1個細胞 當column G>67, 增加1個細胞 每個File中的N到尾數時, 細胞歸0, 這個GOAL 平均=154.26 (相似於這個成功案例不管是67或其他數字都不算)   預算:3-10萬 接案者要求:   附註: --



※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.64.56.172
※ 文章網址: https://webptt.com/m.aspx?n=bbs/CodeJob/M.1435997029.A.C82.html ※ 編輯: jiarjia (1.64.56.172), 07/04/2015 16:05:26



※ 發信站: 批踢踢實業坊(ptt.cc)
※ 轉錄者: jiarjia (1.64.56.172), 07/04/2015 16:07:47 ※ 編輯: jiarjia (1.64.56.172), 07/04/2015 16:11:06 ※ 編輯: jiarjia (120.88.255.10), 07/04/2015 19:26:34 ※ 編輯: jiarjia (1.64.56.172), 07/05/2015 00:05:17
1F:→ drm343: 這篇怎麼都沒人推噓文,是被刪改了嗎? 07/05 07:25
2F:→ enjoyloli: 推文被刪????Y 07/13 16:12







like.gif 您可能會有興趣的文章
icon.png[問題/行為] 貓晚上進房間會不會有憋尿問題
icon.pngRe: [閒聊] 選了錯誤的女孩成為魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一張
icon.png[心得] EMS高領長版毛衣.墨小樓MC1002
icon.png[分享] 丹龍隔熱紙GE55+33+22
icon.png[問題] 清洗洗衣機
icon.png[尋物] 窗台下的空間
icon.png[閒聊] 双極の女神1 木魔爵
icon.png[售車] 新竹 1997 march 1297cc 白色 四門
icon.png[討論] 能從照片感受到攝影者心情嗎
icon.png[狂賀] 賀賀賀賀 賀!島村卯月!總選舉NO.1
icon.png[難過] 羨慕白皮膚的女生
icon.png閱讀文章
icon.png[黑特]
icon.png[問題] SBK S1安裝於安全帽位置
icon.png[分享] 舊woo100絕版開箱!!
icon.pngRe: [無言] 關於小包衛生紙
icon.png[開箱] E5-2683V3 RX480Strix 快睿C1 簡單測試
icon.png[心得] 蒼の海賊龍 地獄 執行者16PT
icon.png[售車] 1999年Virage iO 1.8EXi
icon.png[心得] 挑戰33 LV10 獅子座pt solo
icon.png[閒聊] 手把手教你不被桶之新手主購教學
icon.png[分享] Civic Type R 量產版官方照無預警流出
icon.png[售車] Golf 4 2.0 銀色 自排
icon.png[出售] Graco提籃汽座(有底座)2000元誠可議
icon.png[問題] 請問補牙材質掉了還能再補嗎?(台中半年內
icon.png[問題] 44th 單曲 生寫竟然都給重複的啊啊!
icon.png[心得] 華南紅卡/icash 核卡
icon.png[問題] 拔牙矯正這樣正常嗎
icon.png[贈送] 老莫高業 初業 102年版
icon.png[情報] 三大行動支付 本季掀戰火
icon.png[寶寶] 博客來Amos水蠟筆5/1特價五折
icon.pngRe: [心得] 新鮮人一些面試分享
icon.png[心得] 蒼の海賊龍 地獄 麒麟25PT
icon.pngRe: [閒聊] (君の名は。雷慎入) 君名二創漫畫翻譯
icon.pngRe: [閒聊] OGN中場影片:失蹤人口局 (英文字幕)
icon.png[問題] 台灣大哥大4G訊號差
icon.png[出售] [全國]全新千尋侘草LED燈, 水草

請輸入看板名稱,例如:BuyTogether站內搜尋

TOP