题解列表

筛选

1319: 没有上司的晚会

```cpp#include#includeusingnamespacestd;constintmaxn=6001;intn,dp[maxn][2],hap[maxn];boolno_head[maxn];vectordown[maxn];intdfs(intnow,

1028题: 自定义函数求一元二次方程

#自己写的代码这道题不会,还是涉及主函数调用,另外关于二次函数的求解也不会用表达式表示#参考代码1```c#include#includeDAYL(floata,floatb,floatc)//根的判别式大于零{floatdelta,x1,x2;delta=b*b-4*a*c;x1=(-b+sqrt(

1026题 : 数字逆序输出

#自己写的代码```c#includeintmain(){inta[10];inttemp;for(inti=0;i=0;i--){printf("%d",a[i]);}return0;}```#思路分析本来想的是,通过temp前后置换一下,