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/cn.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