网易2018校园招聘编程题真题集合1魔法币

一开始没有理解题意:这道题是说,每次把手头上的魔法币全都投入。ios 这道题一开始用了回溯,只经过80%,大数据通不过。大数据 #include <iostream> #include <string> using namespace std; bool helper(int need, int have, string &s) { if(need == 0) return true;
相关文章
相关标签/搜索