文章列表
算术表达式求值(有括号)
摘要:#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include<windows.h>
typedef struct _e……
数组和链表在原空间逆序
摘要:#include<stdio.h>
#include<stdlib.h>
void array_sequence()//顺序存储(数组)逆序的函数
{
int len,i,j;
scanf……
凑算式(蓝桥杯真题)
摘要:/*凑算式 B DEFA + --- + ------- = 10 C GHI 这个算式中A~I代表0~9的数字,不同的字母代表不同的数字。*/ #inclu……
三角形填数顺时针增大
摘要:效果图如下:代码如下:#include "iostream"
using namespace std;
const int MAXSIZE = 10;
int array[MAXSIZE+1][……
c++动态开辟一维数组
摘要:#include <iostream>//#include "cmath"using namespace std;int main(){ int size; cin >> size; int *a……
问题 A: 3sum,三个数相加为0
摘要:问题 A: 3sum时间限制: 1Sec 内存限制: 128MB 提交: 53 解决: 3题目描述给定n个整数,在这n个数中找出所有存在a、b、c元素使得a + b + c = 0?在数组中找到所有唯……