acgo题库
  • 首页
  • 题库
  • 学习
  • 竞赛
  • 讨论
  • 排行
  • 团队
  • 备赛专区

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
登录
注册
题目详情提交记录(0)
  • 解题

    #include <iostream> #include "bit" #include "vector" #include "unordered_set" #include "unordered_map" #include "set" #include "queue" #include "algorithm" #include "bitset" #include "cstring" #include "cmath" using namespace std; const int N = 5e4 + 1; // 强度 >= P 的最小花费 int t, f[101][N], p[101], c[101]; // fij: 从前 i 个里选择,费用为 j 的最大强度 int main() { cin >> t; while (t--) { int n, P, Q; cin >> n >> P >> Q; for (int i = 1; i <= n; i++) { cin >> p[i] >> c[i]; } }

    userId_undefined

    吴张扬

    递归·套娃学徒时间刺客空间掌握者时空双修者循环·循环打卡人贪心·贪心尝试者
    2阅读
    0回复
    0点赞
暂无数据

提交答案之后,这里将显示提交结果~

首页