• 2023-08-23poj 1837
    http://poj.org/problem?id=1837#include<stdio.h>#include<stdlib.h>#include<string.h>#include<math.h>#include<iostream>#include<algorithm>usingnamespacestd;intdp[21][15001];intmain(){intn,
  • 2023-05-26Educational Codeforces Round 149 (Rated for Div. 2) 题解
    https://codeforces.com/contest/1837https://codeforces.com/contest/1837/problems利益相关:上紫祭。真的不要以为这道题放在F就不敢做。压线过题的感觉真好。ABC题都过水,就不写了。代码丢在这里:A:https://codeforces.com/contest/1837/submission/207156920B:https:
  • 2022-12-24POJ 1837 Balance
    POJ1837Balance题意:一个天平上有\(C(2<=C<=20)\)个挂钩,挂钩所在位置在区间\([-15,15]\)。你的手里有\(G(2<=G<=20)\)个砝码,每个砝码的重量在区间\([1,25]\)。
  • 2022-11-09POJ 1837 Balance
    DescriptionGigelhasastrange"balance"andhewantstopoiseit.Actually,thedeviceisdifferentfromanyotherordinarybalance. Itorderstw