题解列表
同行列对角线的格子(C语言)
摘要:#####注意事项:
**1、利用while循环找规律时要注意括号里面应不应该取等号
2、每一行输出完之后要单独输出一个换行符**
###### 代码块如下:
```c
#include
……
2893: 肿瘤面积
摘要:解题思路:注意事项:参考代码:n = int(input())l = [list(map(int,input().split())) for i in range(n)]a = b = -1m = 1……
2894: 肿瘤检测
摘要:解题思路:注意事项:参考代码:n = int(input())l = [list(map(int,input().split())) for i in range(n)]an = 0ln = 0s =……
2895: 反反复复
摘要:解题思路:注意事项:参考代码:m = int(input())s = input()n = len(s)//ml = []k = 0for i in range(n): t = [] fo……
数组插入处理及C代码
摘要:解题思路:注意事项:参考代码:#include<stdio.h>void sort(int a[],int n) //定义一个排序函数sort{ int i,j,temp; ……
2116: 信息学奥赛一本通T1307-高精度乘法
摘要:```cpp
#include
using namespace std;
struct hp
{
int len;
int s[1000];
};
void init(string……
2841: 大整数加法
摘要:```cpp
#include
using namespace std;
struct hp
{
int len;
int s[1000];
};
void init(string……
1066: 二级C语言-自定义函数 此题有坑(c语言代码)
摘要:```c
#include
#include
double fact(int n) {
double n1 = 1.0;
for (int i = 1; i ……
2896: 二维数组右上左下遍历
摘要:解题思路:注意事项:参考代码:n,m = map(int,input().split())l = [list(map(int,input().strip().split())) for i in ra……