题解
2023-03-04 18:09:48
发布于:上海
#include<bits/stdc++.h>
#define ll long long
using namespace std;
int N=1610241024;
int n;
int main(){
cin >>n;
if(n%2==1) cout <<-1;
else{
while(N>1){
if(n>=N){
cout <<N<<" ";
n-=N;
}
N/=2;
}
}
return 0;
}
全部评论 3
Type definition error: [simple type, class cn.hutool.json.JSONNull]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class cn.hutool.json.JSONNull and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: cn.acgo.pms.model.ResponseData["data"]->cn.acgo.pms.service.http.response.TestCaseDownloadVo["testCaseList"]->cn.hutool.json.JSONObject["testCaseInput"])
2024-12-29 来自 广东
0测试点信息
#1
AC
5ms/1.48m
#2
WA
5ms/1.48m
#3
WA
5ms/1.48m
#4
AC
5ms/1.48m
#5
WA
5ms/1.48m
#6
WA
5ms/1.48m
#7
WA
5ms/1.48m
#8
AC
5ms/1.48m
#9
AC
4ms/1.48m
#10
AC
4ms/1.48m
#11
AC
4ms/1.48m
#12
WA
4ms/1.48m2023-10-06 来自 广东
0有错
2023-10-06 来自 广东
0
有帮助,赞一个