`#include <cmath>#include <cstdio>#include <vector>#include <iostream>#include <algorithm>#include<iomanip>#include<string>using namespace std;int V,N,v,f;int main(){    scanf("%d%d",&V,&N);    for(int i=1;i<=N;i++)        scanf("%d",&v[i]);    for(int i=1;i<=N;i++)        for(int j=V;j>=v[i];j--)        {            f[j]=max(f[j],f[j-v[i]]+v[i]);        }    cout<<V-f[V]<<endl;}`

`#include <stdio.h>char str;int a,b;int num,tmp,i;int main() {    while(scanf("%s %d",str, &b) != EOF)        {        num = 0;        for(i=0; str[i]; i++)        {            if(str[i] >= 'a')            str[i] -= 32;            tmp=(str[i]>='A'?str[i]-'A'+10:str[i]-'0');            num=num*10+tmp;        }        int cnt=0;        if(num == 0)        {            puts("0");            continue;    }        while(num)            {            if(num%b <=9)                str[cnt++] = num%b+'0';            else                str[cnt++] = num%b-10+'A';            num = num/b;        }        for(i=cnt-1; i>=0; i--)            printf("%c",str[i]);        puts("");    }    return 0;}加油！！！`
{"ft_lang_label":"__label__zh","ft_lang_prob":0.99439025,"math_prob":0.9979706,"size":500,"snap":"2023-40-2023-50","text_gpt3_token_len":522,"char_repetition_ratio":0.076612905,"word_repetition_ratio":0.0,"special_character_ratio":0.188,"punctuation_ratio":0.020408163,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9993924,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-12-11T03:29:05Z\",\"WARC-Record-ID\":\"<urn:uuid:45f509bb-cb8e-41cd-b3a2-7d49fc8a25e4>\",\"Content-Length\":\"195576\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:e41ea59a-59fd-4a99-b188-c3d473c789f0>\",\"WARC-Concurrent-To\":\"<urn:uuid:27808001-86d1-4248-8615-6bc1966d1ca7>\",\"WARC-IP-Address\":\"203.107.44.140\",\"WARC-Target-URI\":\"https://blog.51cto.com/u_15952369/6036580\",\"WARC-Payload-Digest\":\"sha1:JO5QUPRXOY24Z4UBMFOFCRAPELYKWXH4\",\"WARC-Block-Digest\":\"sha1:BXDRMUQDRPWQKFJBILWHJMX3QOA3Q6NA\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679103464.86_warc_CC-MAIN-20231211013452-20231211043452-00109.warc.gz\"}"}