题解列表

筛选

Tom数 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){     int temp,Tom=0;     unsigned m; //int 就错误      whil……

P1025 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <cstdio> #include <cstdlib> #include <iostream> #include <cstring> ……

蓝桥杯算法提高VIP-快乐司机 (C++代码)

摘要:解题思路:各位dalao可能想多了,这题不是01背包,而是部分背包。看到输入是整数但是答案居然有小数应该就明白了...根本不用dp,直接贪心解决了注意事项:参考代码:#include <iostrea……