bushi
2025-10-25 11:22:31
发布于:浙江
14阅读
0回复
0点赞



#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,d;
cin>>a;
b=a/100;
c=a/10%10;
d=a%10;
if(pow(b,3)+pow(c,3)+pow(d,3)==a){
cout<<"YES";
}
else{
cout<<"NO";
}
全部评论 1
编译错误: /code/judger/test/2084520234524069888/main.cpp: In function 'int main()':
/code/judger/test/2084520234524069888/main.cpp:16:1: error: expected '}' at end of input
16 | }
| ^
/code/judger/test/2084520234524069888/main.cpp:4:11: note: to match this '{'
4 | int main(){
| ^2026-08-04 来自 上海
0











有帮助,赞一个