题解列表

筛选

2792: 三角形判断

摘要:```cpp #include using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if(a+b……

2919: 奖学金

摘要:```cpp #include #include using namespace std; struct student { int id,Chinese,score; }stu……

1074基础解法(Python)

摘要:注意事项:sys.stdin会读取到'\n'换行符参考代码:import sysfor line in sys.stdin :    if int(line) == 0 :      ……

快速排序python解法

摘要:参考代码:def quick_sort(q, l, r):  if l>=r:    return  i, j = l-1, r+1  x = q[(l+r)//2]    while i < j: ……

2910: 找最大数序列

摘要:```cpp #include using namespace std; int main() { int n,i,x,a[31],mark=0,max=-1; bool ……

蛇行矩阵(水题)

摘要:```c #include int main(){ int n,i,j,k=1,l,h=2; scanf("%d",&n); for(i=0;i……