This topic has been archived. It cannot be replied.
-
工作学习 / 学科技术 / 请教一下,这道题咋做?用C++。先谢谢
-newrover(漫游);
2022-9-15
{575}
(#14813113@0)
-
不用谢不会做
-doris99(欢喜心);
2022-9-15
{6}
(#14813128@0)
+3
-
非常感谢。。。😁跟帖😁
-newrover(漫游);
2022-9-16
{6}
(#14814344@0)
+1
-
这个不给40万,天理难容。
-**🍊;
2022-9-15
(#14813151@0)
-
会做就帮个忙,说不定能混个20万的工作😁😁
-newrover(漫游);
2022-9-15
(#14813205@0)
-
Implement “超人变身”
-txn(秦川);
2022-9-15
(#14813191@0)
-
是谁要做?这都要问人,那就放弃算了……
-guestagain(guest again);
2022-9-15
(#14813272@0)
-
谁要做不重要。学习嘛
-newrover(漫游);
2022-9-15
(#14813275@0)
+1
-
就算是学习,这种题目也要问人的话,学习的目的是?
-guestagain(guest again);
2022-9-15
(#14813295@0)
+2
-
从零基础学起。。。不懂就问呗。还能有啥别的目的?😂😂😁
-newrover(漫游);
2022-9-15
(#14813300@0)
-
那我说句不好听的,要么从更基础的开始,要么就别学了……
-guestagain(guest again);
2022-9-15
(#14813309@0)
-
谢谢忠告。我还就愿意学这道题😁😁
-newrover(漫游);
2022-9-15
(#14813312@0)
+1
-
为啥要学c++
-**🍭;
2022-9-15
(#14813317@0)
-
吃饱了撑的😁😁我跟人家吹我会,总得多会一点嘛。
-newrover(漫游);
2022-9-15
(#14813332@0)
-
会这一点也没法吹
-**🍭;
2022-9-15
(#14813355@0)
-
吹一点,是一点,慢慢吹,啊不学嘛😁
-newrover(漫游);
2022-9-15
(#14813360@0)
-
吹点别的吧😁
-**🍭;
2022-9-15
(#14813405@0)
-
别的当然也吹了😂😂🤣🤣
-newrover(漫游);
2022-9-15
(#14813410@0)
-
我迷惑的一点,主要在于怎么知道一个Skill对一个Problem,是不是有Solution涅?要在Solution定义里面做枚举吗?或者定义null就是没有solution?
-newrover(漫游);
2022-9-15
(#14813326@0)
-
这个一般是problem 有个ID,然后到数据库查找,找到对应的Solution ID,用ID再生成对应的Solution Object.
-sxffff(lookingforjob);
2022-9-16
(#14814329@0)
-
谢谢。听起来像是工厂模式😁😁
-newrover(漫游);
2022-9-16
(#14814339@0)
-
你 overthinking 了。这是道 $25 时薪的题,题里问什么,你就答什么。
-xmlhttprequest(build5381);
2022-9-16
(#14814525@0)
-
确实,我把它想复杂了,其实非常简单😂😂行了,现在我有信心拿到25元时薪了!欧耶✌️😂😂
-newrover(漫游);
2022-9-16
(#14814886@0)
-
谁出的题?拉黑。
-laohu667(成也萧何,败也曹操);
2022-9-15
(#14813345@0)
+1
-
人家把我拉黑了🤣🤣
-newrover(漫游);
2022-9-15
(#14813440@0)
+1
-
我瞎编的答案。怎么到处都是重复代码?好像不对劲啊 😁😁有没有C++高手来帮着批改一下?先谢谢
-newrover(漫游);
2022-9-16
{1855}
(#14813401@0)
-
一对小改动
class Skill 的 Solution Solve(Problem problem); 最后加个 const
class Engineer::Solve 里面的 for loop 就可以改成 for (const auto& i : skills)
-cricketkiller(白牙青);
2022-9-16
{163}
(#14815842@0)
-
谢谢老大😁👍
-newrover(漫游);
2022-9-17
(#14817525@0)
-
这些是class 的inherit 基本定义吧。 二十多年没有OO编程的路过胡说一句
-walkthrough(deepdive);
2022-9-15
(#14813445@0)
-
我觉得这里面的类,都不是继承关系,是has a。composition或者aggregration,叫啥来着,组合或者聚合关系吧?
-newrover(漫游);
2022-9-15
(#14813458@0)
-
可以用 github copilot 产生 c#
-xmlhttprequest(build5381);
2022-9-15
{1155}
(#14813764@0)
-
谢谢
-newrover(漫游);
2022-9-16
(#14814341@0)
-
这个是 copilot 自动产生的 c++ code...
-xmlhttprequest(build5381);
2022-9-16
{1389}
(#14814755@0)
-
这不跟我遍的差不多吗?他用vector,我用set,我还消除了冗余
-newrover(漫游);
2022-9-16
(#14814791@0)
-
我只敲了 // 注释,剩下的活儿都是 copilot 干的...
-xmlhttprequest(build5381);
2022-9-16
(#14814819@0)
-
谢谢。这东西不错。
-newrover(漫游);
2022-9-16
(#14814822@0)
-
难点在哪里?比如是懂得怎么写oo style的代码,用Java能写但是C++写不出来吗?还是用啥语言都不会。这题的要求还挺基本的,我要是用c++写可能得查一下语法因为忘得差不多了
-moonhalf(石室矢);
2022-9-16
(#14814538@0)
-
没啥难点,我不是不熟嘛。Java我更不会了😁😁我在上面编了一下,有空帮看看
-newrover(漫游);
2022-9-16
(#14814589@0)
-
哈哈写了一半放弃了。C++语法忘得太多,特别是std那些库.
-moonhalf(石室矢);
2022-9-16
(#14815105@0)
-
怎么样?老大,不容易吧?主要不总玩
-newrover(漫游);
2022-9-16
(#14815759@0)
-
是,不敢吹牛了😅
-moonhalf(石室矢);
2022-9-16
(#14815835@0)
-
顺便温习STL, 写driver多了, 人都傻了 (网站贴代码功能咋用的?)
-suancaifentiao(suancaifentiao);
2022-10-6
{3248}
(#14860244@0)