全WA,呜呜
查看原帖
全WA,呜呜
995569
L__B楼主2023/11/12 00:30
#include<bits/stdc++.h>
using namespace std;
int x,n,p,s;
int main(){
    scanf("%d%d",&x,&n);
    while(n--){
        scanf("%d",&p);
        s+=x; s-=p;
    }
    printf("%d",s);
    return 0;
}
2023/11/12 00:30
加载中...