Akuna Capital OA C++

網投C++ junior developer110mins 3道coding + 17道選擇問答

選擇問答都C++相關知識(Run time type inference, Template usage, low-level optimize…)還有bit operations,不難
直接上coding題

(圖片不知為啥傳不了,用Google drive了)

  1. https://drive.google.com/file/d/ … VV/view?usp=sharing

  2. https://drive.google.com/file/d/ … xR/view?usp=sharing

  3. https://drive.google.com/file/d/ … pn/view?usp=sharing

lz掛了第三題,想了對每個數做質因數分解再算容斥但沒寫完
有沒有人有好的做法~

另求,感謝

补充内容 (2018-11-9 14:00):
樓主OA作成這樣 還被move forward了…

1 Like

楼主你是这个吗,Quant Dynamic - 2019 (Python or C++)

不是喔 是junior developer C++

感谢楼主, 同挂第三题, 一个testcase 怎么也过不了

感谢楼主
还是想问下第三题。。。没看懂呀。。
(2,3,2),(2,3,4)为什么就不满足了呢?
非常感谢。。

For the first one, 2 is not co-prime with 2
For the second one, 2 is not co-prime with 4

谢楼主分享

有人收到过72小时的C++题不,我还没有开始,先准备一下。