俺一直都不理解中学计算机竞赛为什么强调C++, 做AI顶层算法设计的以前用matlab, 现在用python/numpy

本帖于 2024-03-17 11:03:12 时间, 由普通用户 pct 编辑

用C++的都是螺丝钉

所有跟帖: 

谢谢,很会安慰人 -两女宝妈- 给 两女宝妈 发送悄悄话 两女宝妈 的博客首页 (0 bytes) () 03/17/2024 postreply 11:02:26

不是安慰,是俺的经验之谈 :-) -pct- 给 pct 发送悄悄话 (0 bytes) () 03/17/2024 postreply 11:04:23

更加被安慰到了:) -两女宝妈- 给 两女宝妈 发送悄悄话 两女宝妈 的博客首页 (0 bytes) () 03/17/2024 postreply 11:09:02

现在PYTHON/JAVA用的最多。。。哈哈 -Midwestrural- 给 Midwestrural 发送悄悄话 (0 bytes) () 03/17/2024 postreply 11:02:51

我家LD也说以后都AI了,谁还去学C++。 -Pilsung- 给 Pilsung 发送悄悄话 (0 bytes) () 03/17/2024 postreply 12:00:06

一看就是外行,自己去查一下为啥竞赛用C++很难吗?至于为啥现在AI多用python 不过是因为它简单好上手,各种库成熟 -阿拉拉- 给 阿拉拉 发送悄悄话 (0 bytes) () 03/17/2024 postreply 11:13:54

所以现在啥阿猫阿狗都号称自己会AI/ML LOL -阿拉拉- 给 阿拉拉 发送悄悄话 (0 bytes) () 03/17/2024 postreply 11:15:08

似乎你是内行?那么请问:python 和 c++各有什么优缺点? -pct- 给 pct 发送悄悄话 (0 bytes) () 03/17/2024 postreply 11:19:44

我不知道USACO是不是要看程序的运行速度,就是同一个Algothrim,C++底层一些,对内存要求少,所以 -Pilsung- 给 Pilsung 发送悄悄话 (380 bytes) () 03/17/2024 postreply 11:25:14

对,运行速度确实是有要求的,C++确实比Python 更有效率 -心心相惜- 给 心心相惜 发送悄悄话 (0 bytes) () 03/17/2024 postreply 11:49:27

MAtLAB好用,但是他是商业的,需要花钱的。PYthon免费,又开发了那么多library,上手也快. -Pilsung- 给 Pilsung 发送悄悄话 (0 bytes) () 03/17/2024 postreply 12:03:57

请您先登陆,再发跟帖!