| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 64649 | 殷震轩 | 完美立方 | C++ | Compile Error | 0 MS | 0 KB | 324 | 2024-01-21 17:30:02 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; for(int a=2;a<=n;a++){ for(int b=2;b<=n;b++){ for(int c=b;c<=n;c++){ for(int d=c;d<=n;d++){ if(a*a*a==b*b*b+c*c*c+d*d*d){ printf("Cude = %d, Triple = (%d,%d,%d)\n",a,b,c,d) } } } } } return 0; }
Main.cc: In function 'int main()':
Main.cc:12:6: error: expected ';' before '}' token
}
^