这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include #include #include using namespace std; int main(){ double a,b,c,d,e,x1,x2; cin>>a>>b>>c; d=b*b-4*a*c; if(d 0) { if(x1>x2){ printf("x2=%.5f;x1=%.…
在讨论《为什么编译不成功》回复:
@[AmaoFox](luogu://user/513997) 好的,解决了,谢谢。
在讨论《为什么编译不成功》回复:
@[zheqian3](luogu://user/1384143) 下面的```cpp cin>>b[c]; ```和```cpp d+=b[c]; ``` 这种[]里是变量的全都会卡住怎么办
```cpp #include #include using namespace std; int main(){ double a,c=0,d=0,e; cin>>a; double b[a]; for(;c >b[c]; d+=b[c]; } e=d/a; cout<<e; return 0; } ```